Commit 58dcaa77 authored by Leigh Stoller's avatar Leigh Stoller

Delete ADMINMODE variable.

parent a19c9897
......@@ -100,7 +100,7 @@ function GETUID() {
#
function CHECKLOGIN($uid) {
global $TBAUTHCOOKIE, $HTTP_COOKIE_VARS, $TBAUTHTIMEOUT;
global $CHECKLOGIN_STATUS, $CHECKLOGIN_UID, $ADMINMODE;
global $CHECKLOGIN_STATUS, $CHECKLOGIN_UID;
#
# If we already figured this out, do not duplicate work!
......@@ -238,9 +238,6 @@ function CHECKLOGIN($uid) {
#
if ($admin && !$adminoff) {
putenv("HTTP_WITH_TB_ADMIN_PRIVS=1");
$ADMINMODE=1;
} else {
$ADMINMODE=0;
}
return $CHECKLOGIN_STATUS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment