summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-08-07 14:48:20 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-08-07 14:48:20 +0200
commitd347b82fccb89a2abf0efca684ede9605f41d2f1 (patch)
tree61071b1d882373d5f21c38ec24b3559a67d84d84 /hooks
parent55660499b49967a4accb4c23c1334e4b94e4bbbd (diff)
fix line issues
Diffstat (limited to 'hooks')
-rw-r--r--hooks/user.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/hooks/user.php b/hooks/user.php
index e31c0756a..158396219 100644
--- a/hooks/user.php
+++ b/hooks/user.php
@@ -14,11 +14,12 @@
namespace OCA\News\Hooks;
use OCA\News\AppInfo\Application;
-
+use OCA\News\Service\ItemService;
+use OCA\News\Service\FeedService;
+use OCA\News\Service\FolderService;
class User {
-
public static function deleteUser($params) {
$userId = $params['uid'];
@@ -26,10 +27,9 @@ class User {
$container = $app->getContainer();
// order is important!
- $container->query(\OCA\News\Service\ItemService::class)->deleteUser($userId);
- $container->query(\OCA\News\Service\FeedService::class)->deleteUser($userId);
- $container->query(\OCA\News\Service\FolderService::class)->deleteUser($userId);
+ $container->query(ItemService::class)->deleteUser($userId);
+ $container->query(FeedService::class)->deleteUser($userId);
+ $container->query(FolderService::class)->deleteUser($userId);
}
-
}