Start to move maintainer related functions into maintainer class and separate maintainer related queries and logic from
display code. Also move maintainer related code from the user class. Fix up unit tests to work with the new maintainer class.
This commit is contained in:
@@ -59,7 +59,7 @@ if($hUsersToDelete)
|
||||
/* is the user a maintainer? if so remove their maintainer privilages */
|
||||
if($oUser->isMaintainer())
|
||||
{
|
||||
$oUser->deleteMaintainer();
|
||||
Maintainer::deleteMaintainer($oUser);
|
||||
}
|
||||
|
||||
$usersWithData++;
|
||||
|
||||
Reference in New Issue
Block a user