|
@@ 1535-1539 (lines=5) @@
|
| 1532 |
|
$table_count = count($tmp_files); |
| 1533 |
|
// Check if the table is created |
| 1534 |
|
$created_table_count = 0; |
| 1535 |
|
for($j=0;$j<count($tmp_files);$j++) |
| 1536 |
|
{ |
| 1537 |
|
list($table_name) = explode(".",$tmp_files[$j]); |
| 1538 |
|
if($oDB->isTableExists($table_name)) $created_table_count ++; |
| 1539 |
|
} |
| 1540 |
|
// Check if DB is installed |
| 1541 |
|
if($table_count > $created_table_count) return true; |
| 1542 |
|
else return false; |
|
@@ 1585-1589 (lines=5) @@
|
| 1582 |
|
$table_count = count($tmp_files); |
| 1583 |
|
// Check if the table is created |
| 1584 |
|
$created_table_count = 0; |
| 1585 |
|
for($j=0;$j<$table_count;$j++) |
| 1586 |
|
{ |
| 1587 |
|
list($table_name) = explode('.',$tmp_files[$j]); |
| 1588 |
|
if($oDB->isTableExists($table_name)) $created_table_count ++; |
| 1589 |
|
} |
| 1590 |
|
// Get information of the module |
| 1591 |
|
$info = NULL; |
| 1592 |
|
$info = $this->getModuleInfoXml($module_name); |