Skip to content

Commit 5ace3c3

Browse files
DenitzHackwar
andauthored
[5.1] Senseless proxy methods (#41967)
* fix * Update HiddenField.php --------- Co-authored-by: Hannes Papenberg <[email protected]>
1 parent fc8e475 commit 5ace3c3

File tree

3 files changed

+0
-43
lines changed

3 files changed

+0
-43
lines changed

administrator/components/com_tags/src/Controller/TagController.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,6 @@ protected function allowAdd($data = [])
4040
return $this->app->getIdentity()->authorise('core.create', 'com_tags');
4141
}
4242

43-
/**
44-
* Method to check if you can edit a record.
45-
*
46-
* @param array $data An array of input data.
47-
* @param string $key The name of the key for the primary key.
48-
*
49-
* @return boolean
50-
*
51-
* @since 3.1
52-
*/
53-
protected function allowEdit($data = [], $key = 'id')
54-
{
55-
// Since there is no asset tracking and no categories, revert to the component permissions.
56-
return parent::allowEdit($data, $key);
57-
}
58-
5943
/**
6044
* Method to run batch operations.
6145
*

libraries/src/Component/Exception/MissingComponentException.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,4 @@
2222
*/
2323
class MissingComponentException extends RouteNotFoundException
2424
{
25-
/**
26-
* Constructor
27-
*
28-
* @param string $message The Exception message to throw.
29-
* @param integer $code The Exception code.
30-
* @param \Exception $previous The previous exception used for the exception chaining.
31-
*
32-
* @since 3.7.0
33-
*/
34-
public function __construct($message = '', $code = 404, \Exception $previous = null)
35-
{
36-
parent::__construct($message, $code, $previous);
37-
}
3825
}

libraries/src/Toolbar/Button/DropdownButton.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,20 +84,6 @@ protected function prepareOptions(array &$options)
8484
}
8585
}
8686

87-
/**
88-
* Render button HTML.
89-
*
90-
* @param array $options The button options.
91-
*
92-
* @return string The button HTML.
93-
*
94-
* @since 4.0.0
95-
*/
96-
protected function renderButton(array &$options): string
97-
{
98-
return parent::renderButton($options);
99-
}
100-
10187
/**
10288
* Get the button CSS Id.
10389
*

0 commit comments

Comments
 (0)