Commit 69874b72 authored by romanb's avatar romanb

small migration fix (notice+warning when the migration folder is empty because...

small migration fix (notice+warning when the migration folder is empty because of uninitialized variable)
parent 6e519eb2
......@@ -61,6 +61,7 @@ class Doctrine_Migration
$directory = $this->migrationClassesDirectory;
$classes = get_declared_classes();
$loadedClasses = array();
if ($directory !== null) {
foreach ((array) $directory as $dir) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment