diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-10-20 21:52:19 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-10-20 21:52:19 +0200 |
commit | 4d13d89c45c088d6070c4e2da6d5b702f13c77ab (patch) | |
tree | 7d201c0463e65635ba63d93eeff8e2b73628cbfb | |
parent | e979d184ca6fbad44ae1f33610c80b80d106e067 (diff) | |
download | dokuwiki-4d13d89c45c088d6070c4e2da6d5b702f13c77ab.tar.gz dokuwiki-4d13d89c45c088d6070c4e2da6d5b702f13c77ab.zip |
remove obsolete opera handling and session closing
-rw-r--r-- | lib/plugins/acl/action.php | 11 |
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 +} |