Move "submanage" Session value into own methods
This commit is contained in:
@@ -32,7 +32,7 @@ function removeme_post(App $a)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!empty($_SESSION['submanage'])) {
|
||||
if (DI::userSession()->getSubManagedUserId()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user