summaryrefslogtreecommitdiff
path: root/inc/confutils.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-02-23 22:07:26 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-02-23 22:07:26 +0100
commit8fcb305db0081dacd8e8ad0583da5ecc6c6837dc (patch)
tree928fc44fde692835bca9dd304ebcb17cdd710ac8 /inc/confutils.php
parent4d5954c8d1f8bcc5450f8cf70d8139cf5a1e697d (diff)
parent5d873dd4ce31c79403a01ac0e40ff148be282592 (diff)
downloadrpg-8fcb305db0081dacd8e8ad0583da5ecc6c6837dc.tar.gz
rpg-8fcb305db0081dacd8e8ad0583da5ecc6c6837dc.tar.bz2
Merge remote-tracking branch 'origin/master' into diff_navigation
Conflicts: inc/html.php
Diffstat (limited to 'inc/confutils.php')
-rw-r--r--inc/confutils.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/confutils.php b/inc/confutils.php
index 0ac003b72..31371d41f 100644
--- a/inc/confutils.php
+++ b/inc/confutils.php
@@ -237,13 +237,14 @@ function getConfigFiles($type) {
* check if the given action was disabled in config
*
* @author Andreas Gohr <andi@splitbrain.org>
+ * @param string $action
* @returns boolean true if enabled, false if disabled
*/
function actionOK($action){
static $disabled = null;
if(is_null($disabled) || defined('SIMPLE_TEST')){
global $conf;
- /** @var auth_basic $auth */
+ /** @var DokuWiki_Auth_Plugin $auth */
global $auth;
// prepare disabled actions array and handle legacy options