diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-07-31 18:15:57 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-07-31 18:15:57 +0200 |
commit | 020ea9e10577217f17372cb6510d872f9a5c647c (patch) | |
tree | 09d5264c693f44702ea3912833941885f0a4e2e3 /inc | |
parent | 2a7abf2d7fee6a2d6418e5ad4b79e37e6049bd92 (diff) | |
download | rpg-020ea9e10577217f17372cb6510d872f9a5c647c.tar.gz rpg-020ea9e10577217f17372cb6510d872f9a5c647c.tar.bz2 |
unit tests for self deleting of user accounts
Diffstat (limited to 'inc')
-rw-r--r-- | inc/confutils.php | 2 |
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; |