summaryrefslogtreecommitdiff
path: root/app/models/Days.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-14 19:05:22 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-14 19:05:22 +0100
commitd2c20395c0aa74f2e1c039b56dfda618415be617 (patch)
treec604917a9aebe82d588377eed492b755bfa5bfee /app/models/Days.php
parent0df314fcb48aef6c885d2573a1e90b8cb5d0ee10 (diff)
Ajout d'indicateur de jour dans le flux d'articles + correction de bugs js liés à cet ajout et code mort
Diffstat (limited to 'app/models/Days.php')
-rw-r--r--app/models/Days.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/Days.php b/app/models/Days.php
new file mode 100644
index 000000000..a859cbace
--- /dev/null
+++ b/app/models/Days.php
@@ -0,0 +1,7 @@
+<?php
+
+class Days {
+ const TODAY = 0;
+ const YESTERDAY = 1;
+ const BEFORE_YESTERDAY = 2;
+}