From d347b82fccb89a2abf0efca684ede9605f41d2f1 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 7 Aug 2015 14:48:20 +0200 Subject: fix line issues --- hooks/user.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'hooks') 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); } - } -- cgit v1.2.3