mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-09-12 07:45:17 -04:00
clean up usages of $UserID
This commit is contained in:
@@ -148,8 +148,6 @@ if (isset($LoginCookie)) {
|
||||
list($SessionID, $LoggedUser['ID']) = explode('|~|', Crypto::decrypt($LoginCookie, ENCKEY));
|
||||
$LoggedUser['ID'] = (int)$LoggedUser['ID'];
|
||||
|
||||
$UserID = $LoggedUser['ID']; // TODO: convert all usages of this shit to $LoggedUser['ID'].
|
||||
|
||||
if (!$LoggedUser['ID'] || !$SessionID) {
|
||||
logout($LoggedUser['ID'], $SessionID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user