File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3535ini_set ('error_reporting ' ,'E_ALL & ~E_NOTICE ' );
3636
3737// make sure server_id is always an int
38- $ conf [" server_id " ] = intval ($ conf [" server_id " ]);
38+ $ conf [' server_id ' ] = intval ($ conf [' server_id ' ]);
3939
4040/*
4141// Get server record, if updates where available for this server
42- $server_db_record = $app->db->queryOneRecord("SELECT * FROM server WHERE update = 1 AND server_id = ".$conf[" server_id" ]);
42+ $server_db_record = $app->db->queryOneRecord("SELECT * FROM server WHERE update = 1 AND server_id = ".$conf[' server_id' ]);
4343if($server_db_record == false) {
44- $app->log(" Nothing to update for server_id " .$conf[" server_id" ]);
44+ $app->log(' Nothing to update for server_id ' .$conf[' server_id' ]);
4545 die();
4646} else {
4747 // Set update status to 0, so we dont start the update process twice
48- $app->db->query("UPDATE server SET update = 0 WHERE server_id = ".$conf[" server_id" ]);
49- $app->log(" Begin update." );
48+ $app->db->query("UPDATE server SET update = 0 WHERE server_id = ".$conf[' server_id' ]);
49+ $app->log(' Begin update.' );
5050}
5151*/
5252
You can’t perform that action at this time.
0 commit comments