diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-07-31 18:14:26 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-07-31 18:14:26 +0200 |
commit | 2a7abf2d7fee6a2d6418e5ad4b79e37e6049bd92 (patch) | |
tree | b4d8b38bd7113d0e02b7eb7a53da0d3b5354712b /inc/confutils.php | |
parent | 07ff0babae240ba072a3bc8b83a989c4305c24cd (diff) | |
download | rpg-2a7abf2d7fee6a2d6418e5ad4b79e37e6049bd92.tar.gz rpg-2a7abf2d7fee6a2d6418e5ad4b79e37e6049bd92.tar.bz2 |
FS#2751 - self deletion of user account
Diffstat (limited to 'inc/confutils.php')
-rw-r--r-- | inc/confutils.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/confutils.php b/inc/confutils.php index 404cc6050..02be0089c 100644 --- a/inc/confutils.php +++ b/inc/confutils.php @@ -261,6 +261,9 @@ function actionOK($action){ if (is_null($auth) || !$auth->canDo('Profile')) { $disabled[] = 'profile'; } + if (is_null($auth) || !$auth->canDo('delUser')) { + $disabled[] = 'profile_delete'; + } if (is_null($auth)) { $disabled[] = 'login'; } |