mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-10-01 13:00:20 +02:00
gui improvements
This commit is contained in:
1 parent
b563658a37
commit
a10040ea1c
16 files changed
+40
-26
No files matched your search
@@ -142,6 +142,8 @@ class ModelSaasCustomer extends Model
|
||||
|
||||
|
||||
public function get_online_users() {
|
||||
$query = $this->db->query("DELETE FROM " . TABLE_ONLINE . " WHERE last_activity < ?", array(NOW - 3600));
|
||||
|
||||
$query = $this->db->query("SELECT * FROM " . TABLE_ONLINE . " ORDER BY username ASC");
|
||||
|
||||
return $query->rows;
|
||||
|
||||
Reference in new issue
Block a user