diff options
| author | 2014-09-18 15:42:00 +0200 | |
|---|---|---|
| committer | 2014-09-18 15:42:00 +0200 | |
| commit | 0947b780c94da2761180387e51ff17940f0080cb (patch) | |
| tree | 62fd182875f225da752e5f6bca26465f6da8914b /app/Models/Configuration.php | |
| parent | 70df99c1fcd88b30a6a9d71954af1e31dfade489 (diff) | |
| parent | ca74b2fca3711ef80542cc69269b2d9a654e3e5a (diff) | |
Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev
Diffstat (limited to 'app/Models/Configuration.php')
| -rw-r--r-- | app/Models/Configuration.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Models/Configuration.php b/app/Models/Configuration.php index 352e70f4f..f94d82402 100644 --- a/app/Models/Configuration.php +++ b/app/Models/Configuration.php @@ -60,6 +60,7 @@ class FreshRSS_Configuration { 'bottomline_link' => true, 'sharing' => array(), 'queries' => array(), + 'html5_notif_timeout' => 0, ); private $available_languages = array( @@ -280,6 +281,12 @@ class FreshRSS_Configuration { $this->data['content_width'] = 'thin'; } } + + public function _html5_notif_timeout ($value) { + $value = intval($value); + $this->data['html5_notif_timeout'] = $value >= 0 ? $value : 0; + } + public function _token($value) { $this->data['token'] = $value; } |
