summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-05 18:22:19 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-05 18:22:19 -0400
commit5ffdf286e7cebd522f406fbeb83f78e4e4a3b711 (patch)
tree1ab4d8fa6ed4364a4774b933214de36cf596f4e3 /app/Model
parent9ce6a284193cf07404872a3c3ad746c1f1f4f5db (diff)
Minor fixes
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/LastLoginModel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/LastLoginModel.php b/app/Model/LastLoginModel.php
index 16821392..caaa4a80 100644
--- a/app/Model/LastLoginModel.php
+++ b/app/Model/LastLoginModel.php
@@ -68,7 +68,7 @@ class LastLoginModel extends Base
if (count($connections) >= self::NB_LOGINS) {
$this->db->table(self::TABLE)
->eq('user_id', $user_id)
- ->notin('id', array_slice($connections, 0, self::NB_LOGINS - 1))
+ ->notIn('id', array_slice($connections, 0, self::NB_LOGINS - 1))
->remove();
}
}