Commit 294279ce authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix minor bugs.

parent 534ce0ba
......@@ -187,7 +187,7 @@ function INFORMLEADERS($this_user) {
}
if (strcmp($status, TBDB_USERSTATUS_UNVERIFIED) == 0) {
$this_user->SetStatus(TBDB_USERSTATUS_ACTIVE());
$this_user->SetStatus(TBDB_USERSTATUS_ACTIVE);
TBMAIL($TBMAIL_AUDIT,
"User '$uid' has been verified",
......@@ -207,9 +207,9 @@ if (strcmp($status, TBDB_USERSTATUS_UNVERIFIED) == 0) {
}
elseif (strcmp($status, TBDB_USERSTATUS_NEWUSER) == 0) {
$newstatus = ($wikionly ?
TBDB_USERSTATUS_ACTIVE() : TBDB_USERSTATUS_UNAPPROVED());
TBDB_USERSTATUS_ACTIVE : TBDB_USERSTATUS_UNAPPROVED);
$this_user->SetStatus(TBDB_USERSTATUS_UNAPPROVED());
$this_user->SetStatus($newstatus);
TBMAIL($TBMAIL_AUDIT,
"User '$uid' has been verified",
......
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