Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Making CakePlugin::loadAll() static as its fellow class methods
  • Loading branch information
lorenzo committed Sep 21, 2011
1 parent b3157cd commit c45538a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Core/CakePlugin.php
Expand Up @@ -117,7 +117,7 @@ public static function load($plugin, $config = array()) {
* @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;
Expand Down

0 comments on commit c45538a

Please sign in to comment.