Browse Source

Outputs messages of which plugin is going to have locations upgrade.

Luís Armando 14 years ago
parent
commit
5b324f8024
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/Cake/Console/Command/UpgradeShell.php

+ 2 - 0
lib/Cake/Console/Command/UpgradeShell.php

@@ -137,10 +137,12 @@ class UpgradeShell extends AppShell {
 			list($plugins) = $Folder->read();
 			foreach ($plugins as $plugin) {
 				chdir($cwd . DS . 'plugins' . DS . $plugin);
+				$this->out(__d('cake_console', 'Upgrading locations for plugin %s', $plugin));
 				$this->locations();
 			}
 			$this->_files = array();
 			chdir($cwd);
+			$this->out(__d('cake_console', 'Upgrading locations for app directory'));
 		}
 		$moves = array(
 			'config' => 'Config',