summaryrefslogtreecommitdiff
path: root/app/Model/LastLogin.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-20 15:31:26 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-20 15:31:26 -0500
commit0261c751cf539030f47756bc1ea1650123ed2312 (patch)
treef2a1f4d09b1b26f228b9fe055a8ebceb5f71ca75 /app/Model/LastLogin.php
parentfc468088c3b39bc4e9d185683442db1d36b61e23 (diff)
Fix cosmetic issues and update api documentation
Diffstat (limited to 'app/Model/LastLogin.php')
-rw-r--r--app/Model/LastLogin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Model/LastLogin.php b/app/Model/LastLogin.php
index a1734819..feb5f5a3 100644
--- a/app/Model/LastLogin.php
+++ b/app/Model/LastLogin.php
@@ -65,9 +65,9 @@ class LastLogin 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))
- ->remove();
+ ->eq('user_id', $user_id)
+ ->notin('id', array_slice($connections, 0, self::NB_LOGINS - 1))
+ ->remove();
}
}