Skip to content

Commit

Permalink
Merge pull request #380 from cakephp/revert-378-master
Browse files Browse the repository at this point in the history
Revert "Updated calls to deprecated Plugin::loaded method"
  • Loading branch information
dereuromark authored Dec 20, 2018
2 parents b6e6c2c + 7907d47 commit b5ed95f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Shell/Task/SeedTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function getOptionParser()
$parser = new ConsoleOptionParser($name);

$bakeThemes = [];
foreach (Plugin::isLoaded() as $plugin) {
foreach (Plugin::loaded() as $plugin) {
$path = Plugin::classPath($plugin);
if (is_dir($path . 'Template' . DS . 'Bake')) {
$bakeThemes[] = $plugin;
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/Task/SimpleMigrationTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function getOptionParser()
$parser = new ConsoleOptionParser($name);

$bakeThemes = [];
foreach (Plugin::isLoaded() as $plugin) {
foreach (Plugin::loaded() as $plugin) {
$path = Plugin::classPath($plugin);
if (is_dir($path . 'Template' . DS . 'Bake')) {
$bakeThemes[] = $plugin;
Expand Down

0 comments on commit b5ed95f

Please sign in to comment.