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

add reerence to the actual plugin to ADMINPLUGIN_ACCESS_CHECK

Otherwise it's a bit ahrd to decide if access should be granted ;-)
parent 211d00a0
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,7 @@ class DokuWiki_Admin_Plugin extends DokuWiki_Plugin {
public function isAccessibleByCurrentUser() {
global $INFO;
$data['instance'] = $this;
$data['hasAccess'] = false;
$event = new Doku_Event('ADMINPLUGIN_ACCESS_CHECK', $data);
......
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