mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 03:07:02 +02:00
@ -75,6 +75,9 @@ class ControllerLoginLogin extends Controller {
|
||||
if(isAdminUser() == 1) {
|
||||
header("Location: " . SITE_URL . "index.php?route=health/health");
|
||||
exit;
|
||||
} else ifisAdminUser() == 4) {
|
||||
header("Location: " . SITE_URL . "index.php?route=audit/removal");
|
||||
exit;
|
||||
}
|
||||
|
||||
header("Location: " . SITE_URL . "search.php");
|
||||
|
@ -34,9 +34,9 @@ class ControllerMessageBulkremove extends Controller {
|
||||
}
|
||||
|
||||
if(NEED_TO_APPROVE_DELETE) {
|
||||
$deleted = 0;
|
||||
} else {
|
||||
$deleted = -1;
|
||||
} else {
|
||||
$deleted = 1;
|
||||
}
|
||||
|
||||
foreach($idlist as $id) {
|
||||
|
Reference in New Issue
Block a user