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:
@@ -19,7 +19,7 @@ function global_sidebar_login() {
|
||||
|
||||
/* if this user maintains any applications list them */
|
||||
/* in their sidebar */
|
||||
$apps_user_maintains = $_SESSION['current']->getAppsMaintained();
|
||||
$apps_user_maintains = Maintainer::getAppsMaintained($_SESSION['current']);
|
||||
if($apps_user_maintains)
|
||||
{
|
||||
$g->addmisc("");
|
||||
|
||||
Reference in New Issue
Block a user