summaryrefslogtreecommitdiff
path: root/models/user.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fguillot@users.noreply.github.com>2014-04-26 20:04:39 -0400
committerFrédéric Guillot <fguillot@users.noreply.github.com>2014-04-26 20:04:39 -0400
commit6551609d1b248011d301080c1be7c48085dc5d55 (patch)
tree0b09326b95232338f9f61dfe6268ced206e5b78b /models/user.php
parent3332949c8baae581ea70ce5c61bb2a6225100422 (diff)
Add a filter by user and due date + minor changes
Diffstat (limited to 'models/user.php')
-rw-r--r--models/user.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/models/user.php b/models/user.php
index c5017ac6..7334373c 100644
--- a/models/user.php
+++ b/models/user.php
@@ -23,6 +23,13 @@ class User extends Base
const TABLE = 'users';
/**
+ * Id used for everbody (filtering)
+ *
+ * @var integer
+ */
+ const EVERYBODY_ID = -1;
+
+ /**
* Get a specific user by id
*
* @access public