mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Making CakePlugin::loadAll() static as its fellow class methods
This commit is contained in:
parent
b3157cdd71
commit
c45538ab08
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class CakePlugin {
|
|||
* @param array $options
|
||||
* @return void
|
||||
*/
|
||||
public function loadAll($options = array()) {
|
||||
public static function loadAll($options = array()) {
|
||||
$plugins = App::objects('plugins');
|
||||
foreach ($plugins as $p) {
|
||||
$opts = isset($options[$p]) ? $options[$p] : null;
|
||||
|
|
Loading…
Reference in a new issue