diff options
-rw-r--r-- | lib/sfIsisImporterBase.class.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sfIsisImporterBase.class.php b/lib/sfIsisImporterBase.class.php index fac694a..62e7ead 100644 --- a/lib/sfIsisImporterBase.class.php +++ b/lib/sfIsisImporterBase.class.php @@ -62,8 +62,7 @@ class sfIsisImporterBase extends IsisConnector */ public function databases() { - $files = glob(sfConfig::get('sf_lib_dir') .'/cinisis/schemas/*.yaml'); - foreach ($files as $file) + foreach (glob(sfConfig::get('sf_lib_dir') .'/cinisis/schemas/*.yaml') as $file) { $databases[] = basename($file, '.yaml'); } |