aboutsummaryrefslogtreecommitdiff
path: root/lib/sfIsisImporterBase.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sfIsisImporterBase.class.php')
-rw-r--r--lib/sfIsisImporterBase.class.php3
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');
}