Making CakePlugin::loadAll() static as its fellow class methods

This commit is contained in:
Jose Lorenzo Rodriguez 2011-09-21 13:31:11 -04:30
parent b3157cdd71
commit c45538ab08

View file

@ -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;