From 5ffdf286e7cebd522f406fbeb83f78e4e4a3b711 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 5 Jun 2016 18:22:19 -0400 Subject: Minor fixes --- app/Model/LastLoginModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model') 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(); } } -- cgit v1.2.3