summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-10-20 21:52:19 +0200
committerAndreas Gohr <andi@splitbrain.org>2013-10-20 21:52:19 +0200
commit4d13d89c45c088d6070c4e2da6d5b702f13c77ab (patch)
tree7d201c0463e65635ba63d93eeff8e2b73628cbfb /lib
parente979d184ca6fbad44ae1f33610c80b80d106e067 (diff)
downloadrpg-4d13d89c45c088d6070c4e2da6d5b702f13c77ab.tar.gz
rpg-4d13d89c45c088d6070c4e2da6d5b702f13c77ab.tar.bz2
remove obsolete opera handling and session closing
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/acl/action.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/plugins/acl/action.php b/lib/plugins/acl/action.php
index 6111aca42..5e186fb61 100644
--- a/lib/plugins/acl/action.php
+++ b/lib/plugins/acl/action.php
@@ -41,18 +41,9 @@ class action_plugin_acl extends DokuWiki_Action_Plugin {
$event->stopPropagation();
$event->preventDefault();
- //close session
- session_write_close();
-
global $ID;
global $INPUT;
- //fix for Opera XMLHttpRequests
- $postData = http_get_raw_post_data();
- if(!count($_POST) && !empty($postData)) {
- parse_str($postData, $_POST);
- }
-
if(!auth_isadmin()) {
echo 'for admins only';
return;
@@ -94,4 +85,4 @@ class action_plugin_acl extends DokuWiki_Action_Plugin {
);
}
}
-} \ No newline at end of file
+}