From d3379573fde9ec2a714a3bfdda2662340212a587 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 9 Apr 2014 18:50:01 +0200 Subject: use query instead of array access --- hooks/user.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hooks') diff --git a/hooks/user.php b/hooks/user.php index 148b62164..a0015c4cf 100644 --- a/hooks/user.php +++ b/hooks/user.php @@ -38,9 +38,9 @@ class User { $container = $app->getContainer(); // order is important! - $container['ItemBusinessLayer']->deleteUser($userId); - $container['FeedBusinessLayer']->deleteUser($userId); - $container['FolderBusinessLayer']->deleteUser($userId); + $container->query('ItemBusinessLayer')->deleteUser($userId); + $container->query('FeedBusinessLayer')->deleteUser($userId); + $container->query('FolderBusinessLayer')->deleteUser($userId); } -- cgit v1.2.3