diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2017-05-13 21:31:25 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2017-05-13 21:35:17 +0200 |
commit | 53822bb4bc21cadc135d70d3d099c5fd117424b0 (patch) | |
tree | 0fe2e35c648cf5441fb3be7f7412aa11d8cfedc1 /appinfo/app.php | |
parent | 86c39a75f04a42be50b7f685f84dae46e54fc137 (diff) |
add new apis
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 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 |