summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rw-r--r--hooks/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/user.php b/hooks/user.php
index 667153fb4..e7d18c129 100644
--- a/hooks/user.php
+++ b/hooks/user.php
@@ -31,7 +31,7 @@ use \OCA\News\DependencyInjection\DIContainer;
class User {
- public static deleteUser($params) {
+ public static function deleteUser($params) {
$userId = $params['uid'];
$container = new DIContainer();