diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-26 09:52:09 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-26 09:52:09 +0000 |
commit | 041e183aebb58ce2e26d7e13095158154984b6f7 (patch) | |
tree | 611a5f228b08a1e18a0bf48ca8bebfdfcc6c2f6b /engine | |
parent | d373ceafa4b799005d54b8a63a1677e31ddf9c23 (diff) | |
download | elgg-041e183aebb58ce2e26d7e13095158154984b6f7.tar.gz elgg-041e183aebb58ce2e26d7e13095158154984b6f7.tar.bz2 |
Closes #822: Action file existed however the action was not registered (previously called directly)
git-svn-id: https://code.elgg.org/elgg/trunk@2956 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/admin.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php index 1c44d80a5..b5ef60d5d 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -49,7 +49,8 @@ register_action('admin/user/unban', false, "", true);
register_action('admin/user/delete', false, "", true);
register_action('admin/user/resetpassword', false, "", true);
- register_action('admin/user/makeadmin', false, "", true);
+ register_action('admin/user/makeadmin', false, "", true); + register_action('admin/user/removeadmin', false, "", true);
// Register some actions
register_action('admin/site/update_basic', false, "", true); // Register basic site admin action
|