summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-04 03:12:24 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-04 03:12:24 +0200
commit4ebd095407e29c464021d030852da9b4a98ca92e (patch)
tree66ece7b99ad5720bc19c0bdca2a805873cf48024 /appinfo/app.php
parent57e61031877e1f921e7b4446471c61e4c5ac1b13 (diff)
fix namespace for hooks
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php2
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';