release 1.2.11
This commit is contained in:
@@ -5,7 +5,7 @@ function update_rs($mysqlcon,$lang,$dbname,$logpath,$timezone,$newversion,$phpco
|
||||
enter_logfile($logpath,$timezone,4," Backup the database due cloning tables...",$norotate);
|
||||
$countbackuperr = 0;
|
||||
|
||||
$tables = array('addons_config','addon_assign_groups','config','groups','job_check','server_usage','stats_nations','stats_platforms','stats_server','stats_user','stats_versions','user','user_snapshot');
|
||||
$tables = array('addons_config','config','groups','job_check','server_usage','stats_server','stats_user','user','user_snapshot');
|
||||
|
||||
foreach ($tables as $table) {
|
||||
if($mysqlcon->query("SELECT 1 FROM `$dbname`.`bak_$table` LIMIT 1") !== false) {
|
||||
@@ -132,4 +132,4 @@ function update_rs($mysqlcon,$lang,$dbname,$logpath,$timezone,$newversion,$phpco
|
||||
enter_logfile($logpath,$timezone,1," Files updated with at least one error. Please check the log!",$norotate);
|
||||
// how to handle this.. Perhaps try again automatically in 30 minutes
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user