diff options
author | M.Gergo | 2019-03-08 21:20:34 +0100 |
---|---|---|
committer | M.Gergo | 2019-03-08 21:20:34 +0100 |
commit | f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (patch) | |
tree | e13e60e4b94a3b58f1e2bfbe271102c8f04b67bd /mayor-orig/www/policy/private/session/sessionAdmin-pre.php | |
parent | c76a004b0135786f2742283f8d5f917106f58bd8 (diff) | |
download | mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip |
további rendrakás
Diffstat (limited to 'mayor-orig/www/policy/private/session/sessionAdmin-pre.php')
-rw-r--r-- | mayor-orig/www/policy/private/session/sessionAdmin-pre.php | 24 |
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>'; - - } - - -?> |