summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-23 21:26:38 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-23 21:26:38 +0100
commit86846e7b97acb44a2ea0460d7951f7ef90558afd (patch)
tree606a266e2fc8198c2851abf7488c02a2afebf608 /app/Controllers/configureController.php
parentdb120b4ed41584c7e33bfe63015f948e6230f1ab (diff)
parent27764b36353b3066a9e92da2a96ac17b546295be (diff)
Merge pull request #433 from aledeg/share
Improve sharing
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index ad8bc546a..104fa8900 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -192,16 +192,8 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
public function sharingAction () {
if (Minz_Request::isPost ()) {
- $this->view->conf->_sharing (array(
- 'shaarli' => Minz_Request::param ('shaarli', false),
- 'wallabag' => Minz_Request::param ('wallabag', false),
- 'diaspora' => Minz_Request::param ('diaspora', false),
- 'twitter' => Minz_Request::param ('twitter', false),
- 'g+' => Minz_Request::param ('g+', false),
- 'facebook' => Minz_Request::param ('facebook', false),
- 'email' => Minz_Request::param ('email', false),
- 'print' => Minz_Request::param ('print', false),
- ));
+ $params = Minz_Request::params();
+ $this->view->conf->_sharing ($params['share']);
$this->view->conf->save();
invalidateHttpCache();