summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rw-r--r--hooks/user.php6
1 files changed, 3 insertions, 3 deletions
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);
}