Browse Source

reset files on each itteration

AD7six 15 years ago
parent
commit
7532ab0586
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Cake/Console/Command/UpgradeShell.php

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

@@ -277,6 +277,7 @@ class UpgradeShell extends Shell {
 		$paths = $this->_paths;
 		$this->_paths = array($path);
 
+		$this->_files = array();
 		$this->_findFiles('php');
 		foreach ($this->_files as $file) {
 			$contents = file_get_contents($file);