mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-12 18:36:29 +00:00
Empty commit
This commit is contained in:
parent
876805bd95
commit
76fed97814
@ -21,7 +21,7 @@ public static function lock_account($UserID, $Type, $Message, $Reason, $LockedBy
|
||||
if ($LockedByUserID == 0) {
|
||||
$Username = "System";
|
||||
} else {
|
||||
G::$DB->query("SELECT Username FROM users_main WHERE ID = '" . $UserID . "'");
|
||||
G::$DB->query("SELECT Username FROM users_main WHERE ID = '" . $LockedByUserID . "'");
|
||||
list($Username) = G::$DB->next_record();
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ public static function unlock_account($UserID, $Type, $Message, $Reason, $Unlock
|
||||
if ($UnlockedByUserID == 0) {
|
||||
$Username = "System";
|
||||
} else {
|
||||
G::$DB->query("SELECT Username FROM users_main WHERE ID = '" . $UserID . "'");
|
||||
G::$DB->query("SELECT Username FROM users_main WHERE ID = '" . $UnlockedByUserID . "'");
|
||||
list($Username) = G::$DB->next_record();
|
||||
}
|
||||
|
||||
@ -57,4 +57,4 @@ public static function unlock_account($UserID, $Type, $Message, $Reason, $Unlock
|
||||
Tools::update_user_notes($UserID, sqltime() . " - " . db_string($Message) . " by $Username\nReason: " . db_string($Reason) . "\n\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user