From 4ebd095407e29c464021d030852da9b4a98ca92e Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 4 Apr 2014 03:12:24 +0200 Subject: fix namespace for hooks --- appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appinfo/app.php') 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'; -- cgit v1.2.3