소스 검색

[PropelBundle] fixed generation of propel_autoload.php

Fabien Potencier 15 년 전
부모
커밋
13839f23ce
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/Symfony/Framework/PropelBundle/Bundle.php

+ 1 - 3
src/Symfony/Framework/PropelBundle/Bundle.php

@@ -31,9 +31,7 @@ class Bundle extends BaseBundle
                 }
             }
 
-            if ($map) {
-                file_put_contents($autoload, '<?php return '.var_export($map, true).';');
-            }
+            file_put_contents($autoload, '<?php return '.var_export($map, true).';');
         }
 
         $autoloader = \PropelAutoloader::getInstance();