summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-25 22:13:51 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-25 22:13:51 -0500
commitb13dba46e7dbe456ee59f65fc0bc3a26dfc9e17d (patch)
tree143d6f4d2574224e8489b2da6ae66cfce64a5171
parent38070aec79416e529ff85205ee7def06216dd8ff (diff)
Fix PHP 5.3 issue
-rw-r--r--app/Model/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/User.php b/app/Model/User.php
index 0d5b346b..8fdfa815 100644
--- a/app/Model/User.php
+++ b/app/Model/User.php
@@ -311,7 +311,7 @@ class User extends Base
}
// Finally remove the user
- if (! $db->table(self::TABLE)->eq('id', $user_id)->remove()) {
+ if (! $db->table(User::TABLE)->eq('id', $user_id)->remove()) {
return false;
}
});