mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Update db_MYSQL.php
This commit is contained in:
@@ -2096,8 +2096,10 @@ class MYSQL_DB {
|
||||
}
|
||||
|
||||
function finishDemolition($wid) {
|
||||
global $database,$village;
|
||||
$q = "UPDATE " . TB_PREFIX . "demolition SET timetofinish=" . time() . " WHERE vref=" . $wid;
|
||||
return mysql_query($q, $this->connection);
|
||||
$result = $database->query($q);
|
||||
return mysql_affected_rows();
|
||||
}
|
||||
|
||||
function delDemolition($wid) {
|
||||
|
||||
Reference in New Issue
Block a user