Skip to content
Snippets Groups Projects
Commit 4d13d89c authored by Andreas Gohr's avatar Andreas Gohr
Browse files

remove obsolete opera handling and session closing

parent e979d184
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment