From addef30dd8bcab2e4455a6c4b1578007ff112b11 Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 29 Jul 2010 14:23:45 -0300 Subject: Minor changes --- lib/sfIsisImporterBase.class.php | 3 +-- 1 file changed, 1 insertion(+), 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'); } -- cgit v1.2.3