summaryrefslogtreecommitdiff
path: root/inc/confutils.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-07-31 18:15:57 +0200
committerChristopher Smith <chris@jalakai.co.uk>2013-07-31 18:15:57 +0200
commit020ea9e10577217f17372cb6510d872f9a5c647c (patch)
tree09d5264c693f44702ea3912833941885f0a4e2e3 /inc/confutils.php
parent2a7abf2d7fee6a2d6418e5ad4b79e37e6049bd92 (diff)
downloadrpg-020ea9e10577217f17372cb6510d872f9a5c647c.tar.gz
rpg-020ea9e10577217f17372cb6510d872f9a5c647c.tar.bz2
unit tests for self deleting of user accounts
Diffstat (limited to 'inc/confutils.php')
-rw-r--r--inc/confutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/confutils.php b/inc/confutils.php
index 02be0089c..0ac003b72 100644
--- a/inc/confutils.php
+++ b/inc/confutils.php
@@ -241,7 +241,7 @@ function getConfigFiles($type) {
*/
function actionOK($action){
static $disabled = null;
- if(is_null($disabled)){
+ if(is_null($disabled) || defined('SIMPLE_TEST')){
global $conf;
/** @var auth_basic $auth */
global $auth;