Commit e9cbe96c authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Remove ERROR call in ISAMIN(); not necessary to send mail about this.

parent a289bdf9
...@@ -437,8 +437,7 @@ function ISADMIN($uid = 1) { ...@@ -437,8 +437,7 @@ function ISADMIN($uid = 1) {
global $CHECKLOGIN_STATUS; global $CHECKLOGIN_STATUS;
if ($CHECKLOGIN_STATUS == CHECKLOGIN_NOSTATUS) { if ($CHECKLOGIN_STATUS == CHECKLOGIN_NOSTATUS) {
$uid=GETUID(); return 0;
TBERROR("ISADMIN: $uid is not logged in!", 1);
} }
return (($CHECKLOGIN_STATUS & 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