CSP for statistics

https://github.com/FreshRSS/FreshRSS/issues/1075
This commit is contained in:
Alexandre Alapetite
2016-02-21 17:26:37 +01:00
parent e3dc7d46e1
commit 264d05297c
6 changed files with 169 additions and 150 deletions

View File

@@ -4,9 +4,9 @@ class FreshRSS_StatsDAOSQLite extends FreshRSS_StatsDAO {
/**
* Calculates entry count per day on a 30 days period.
* Returns the result as a JSON string.
* Returns the result as a JSON object.
*
* @return string
* @return JSON object
*/
public function calculateEntryCount() {
$count = $this->initEntryCountArray();