mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 17:44:37 +02:00
Deprecated Function cleanup and PHP Notice removal.
This commit is contained in:
@@ -44,9 +44,9 @@ class db_table_admin
|
||||
$prefix = MPREFIX;
|
||||
}
|
||||
// echo "Get table structure for: {$table_name}, prefix: {$prefix}<br />";
|
||||
$sql->db_Select_gen('SET SQL_QUOTE_SHOW_CREATE = 1');
|
||||
$sql->gen('SET SQL_QUOTE_SHOW_CREATE = 1');
|
||||
$qry = 'SHOW CREATE TABLE `'.$prefix.$table_name."`";
|
||||
if (!($z = $sql->db_Select_gen($qry)))
|
||||
if (!($z = $sql->gen($qry)))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
@@ -621,7 +621,7 @@ class db_table_admin
|
||||
{
|
||||
return 'Table doesn\'t exist';
|
||||
}
|
||||
if ($sql->db_Select_gen($newStructure[0]))
|
||||
if ($sql->gen($newStructure[0]))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user