Skip to content

Commit be76b0b

Browse files
author
jwarnier
committed
replace double-quotes with single-quotes whenever appropriate
1 parent 2a4cc61 commit be76b0b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

server/server.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@
3535
ini_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']);
4343
if($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

0 commit comments

Comments
 (0)