aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Configuration.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Configuration.php')
-rw-r--r--app/Models/Configuration.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Models/Configuration.php b/app/Models/Configuration.php
index 8d3e69a1c..deeae0826 100644
--- a/app/Models/Configuration.php
+++ b/app/Models/Configuration.php
@@ -52,6 +52,7 @@ class FreshRSS_Configuration {
'bottomline_date' => true,
'bottomline_link' => true,
'sharing' => array(),
+ 'queries' => array(),
);
private $available_languages = array(
@@ -218,6 +219,12 @@ class FreshRSS_Configuration {
$this->data['sharing'][] = $value;
}
}
+ public function _queries ($values) {
+ $this->data['queries'] = array();
+ foreach ($values as $value) {
+ $this->data['queries'][] = array_filter($value);
+ }
+ }
public function _theme($value) {
$this->data['theme'] = $value;
}