summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
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 88aeed65c..65c53725c 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -15,4 +15,4 @@ namespace OCA\News\AppInfo;
require_once __DIR__ . '/../vendor/autoload.php';
-(new Application)->registerConfig();
+\OCP\Util::connectHook('OC_User', 'pre_deleteUser', 'OCA\News\Hooks\User', 'deleteUser'); \ No newline at end of file