diff --git a/preferences/inc/hook_admin_deleteaccount.inc.php b/preferences/inc/hook_deleteaccount.inc.php similarity index 100% rename from preferences/inc/hook_admin_deleteaccount.inc.php rename to preferences/inc/hook_deleteaccount.inc.php diff --git a/preferences/setup/setup.inc.php b/preferences/setup/setup.inc.php index 5094bfacfd..45fc1f7014 100755 --- a/preferences/setup/setup.inc.php +++ b/preferences/setup/setup.inc.php @@ -18,7 +18,7 @@ $setup_info['preferences']['enable'] = 2; /* The hooks this app includes, needed for hooks registration */ - $setup_info['preferences']['hooks'][] = 'admin_deleteaccount'; + $setup_info['preferences']['hooks'][] = 'deleteaccount'; $setup_info['preferences']['hooks'][] = 'config'; $setup_info['preferences']['hooks'][] = 'manual'; $setup_info['preferences']['hooks'][] = 'preferences';