aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/policy/private/session/sessionAdmin-pre.php
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/www/policy/private/session/sessionAdmin-pre.php')
-rw-r--r--mayor-orig/www/policy/private/session/sessionAdmin-pre.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/mayor-orig/www/policy/private/session/sessionAdmin-pre.php b/mayor-orig/www/policy/private/session/sessionAdmin-pre.php
deleted file mode 100644
index 08b55781..00000000
--- a/mayor-orig/www/policy/private/session/sessionAdmin-pre.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
- if (_RIGHTS_OK !== true) die();
-
- if (_POLICY != 'private' || !memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) {
- $_SESSION['alert'][] = 'page:insufficient_access';
- } else {
-
- if ($action == 'deleteSession') {
-
- $policy = readVariable($_POST['delPolicy'], 'enum', null, $POLICIES);
- $userAccount = readVariable($_POST['delSessionID'], 'string', null);
- if (isset($policy) && isset($userAccount)) {
- deleteSession($userAccount, $policy);
- } else { $_SESSION['alert'][] = 'message:wrong_data:userAccount,policy:'.$policy.':'.$userAccount; }
-
- }
- $ADAT['session'] = getSessions();
-//echo '<pre>'; var_dump($ADAT); echo '</pre>';
-
- }
-
-
-?>