diff options
Diffstat (limited to 'appinfo/app.php')
-rw-r--r-- | appinfo/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index dcc00f3d3..6e9d0396d 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -56,7 +56,7 @@ if(\OCP\App::isEnabled('appframework')){ $api->addRegularTask('OCA\News\Backgroundjob\Task', 'run'); $api->connectHook('OC_User', 'pre_deleteUser', - 'OCA\News\Hooks\UserHooks', 'deleteUser'); + 'OCA\News\Hooks\User', 'deleteUser'); } else { $msg = 'Can not enable the News app because the App Framework App is disabled'; |