aboutsummaryrefslogtreecommitdiff
path: root/app/Models/StatsDAOSQLite.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-07-06 11:54:00 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-07-06 11:54:00 +0200
commit3bbd0e446f6a1a0c41a4db36d2841db36dc34004 (patch)
tree7a6417f0a01d5c318112fbf0419f53c5beae61c6 /app/Models/StatsDAOSQLite.php
parent96057fe491412171f4ef2079d3d84cbe1a61e300 (diff)
Prepare statistics for SQLite
Temporarily disable 30-day statistics for SQLite https://github.com/marienfressinaud/FreshRSS/issues/100 https://github.com/marienfressinaud/FreshRSS/issues/90
Diffstat (limited to 'app/Models/StatsDAOSQLite.php')
-rw-r--r--app/Models/StatsDAOSQLite.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Models/StatsDAOSQLite.php b/app/Models/StatsDAOSQLite.php
new file mode 100644
index 000000000..c923e5fd0
--- /dev/null
+++ b/app/Models/StatsDAOSQLite.php
@@ -0,0 +1,9 @@
+<?php
+
+class FreshRSS_StatsDAOSQLite extends FreshRSS_StatsDAO {
+
+ public function calculateEntryCount() {
+ return $this->convertToSerie(array()); //TODO: Implement 30-day statistics for SQLite
+ }
+
+}