コード例 #1
0
ファイル: metamodel.class.php プロジェクト: henryavila/itop
 protected static function DBCreateViews()
 {
     list($aErrors, $aSugFix) = self::DBCheckViews();
     $aSQL = array();
     foreach ($aSugFix as $sClass => $aTarget) {
         foreach ($aTarget as $aQueries) {
             foreach ($aQueries as $sQuery) {
                 if (!empty($sQuery)) {
                     //$aSQL[] = $sQuery;
                     // forces a refresh of cached information
                     CMDBSource::CreateTable($sQuery);
                 }
             }
         }
     }
 }