diff options
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/user.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/user.php b/hooks/user.php index cbacbbf6a..9191b5fa9 100644 --- a/hooks/user.php +++ b/hooks/user.php @@ -13,7 +13,7 @@ namespace OCA\News\Hooks; -use \OCA\News\App\News; +use \OCA\News\AppInfo\Application; class User { @@ -22,7 +22,7 @@ class User { public static function deleteUser($params) { $userId = $params['uid']; - $app = new News(); + $app = new Application(); $container = $app->getContainer(); // order is important! |