Minor fixes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user