aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/ActionRouter.php
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2018-04-12 15:36:43 +0200
committerAndreas Gohr <gohr@cosmocode.de>2018-04-12 15:36:43 +0200
commitb2c9cd19ff3733a632c8d415256d3096765343f7 (patch)
tree8640d8f881e53a39bc984eb0ecc8999c68ec53be /inc/ActionRouter.php
parent13ce475d48f846c56b4bf52ae5fc6c1216dc8deb (diff)
downloaddokuwiki-b2c9cd19ff3733a632c8d415256d3096765343f7.tar.gz
dokuwiki-b2c9cd19ff3733a632c8d415256d3096765343f7.zip
renamed ActionRouter::checkPermissions to checkPreconditions
As discussed in #1933
Diffstat (limited to 'inc/ActionRouter.php')
-rw-r--r--inc/ActionRouter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/ActionRouter.php b/inc/ActionRouter.php
index 7e6fddd16..edc45cfc4 100644
--- a/inc/ActionRouter.php
+++ b/inc/ActionRouter.php
@@ -204,7 +204,7 @@ class ActionRouter {
throw new ActionDisabledException();
}
- $action->checkPermissions();
+ $action->checkPreconditions();
if(isset($INFO)) {
$perm = $INFO['perm'];