|
@@ 1540-1544 (lines=5) @@
|
| 1537 |
|
$table_count = count($tmp_files); |
| 1538 |
|
// Check if the table is created |
| 1539 |
|
$created_table_count = 0; |
| 1540 |
|
for($j=0;$j<count($tmp_files);$j++) |
| 1541 |
|
{ |
| 1542 |
|
list($table_name) = explode(".",$tmp_files[$j]); |
| 1543 |
|
if($oDB->isTableExists($table_name)) $created_table_count ++; |
| 1544 |
|
} |
| 1545 |
|
// Check if DB is installed |
| 1546 |
|
if($table_count > $created_table_count) return true; |
| 1547 |
|
else return false; |
|
@@ 1610-1614 (lines=5) @@
|
| 1607 |
|
$table_count = count($tmp_files); |
| 1608 |
|
// Check if the table is created |
| 1609 |
|
$created_table_count = 0; |
| 1610 |
|
for($j=0;$j<$table_count;$j++) |
| 1611 |
|
{ |
| 1612 |
|
list($table_name) = explode('.',$tmp_files[$j]); |
| 1613 |
|
if($oDB->isTableExists($table_name)) $created_table_count ++; |
| 1614 |
|
} |
| 1615 |
|
// Get information of the module |
| 1616 |
|
$info = NULL; |
| 1617 |
|
$info = $this->getModuleInfoXml($module_name); |