summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
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();
}
}