summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-08 14:30:05 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-08 14:30:05 +0100
commit5bd7997d41d052420e2a4c164a4f60fe982760e2 (patch)
treed939330ad018e4a5cd5a175c30431d7ca518abc8
parente86a6097c886ac8b0ed9278c2cafc543ad4c0227 (diff)
Call handleConfigureAction() even for GET requests
See https://github.com/FreshRSS/FreshRSS/issues/252
-rw-r--r--app/Controllers/extensionController.php5
-rw-r--r--lib/Minz/Extension.php2
2 files changed, 2 insertions, 5 deletions
diff --git a/app/Controllers/extensionController.php b/app/Controllers/extensionController.php
index 3eedcd949..e013bb369 100644
--- a/app/Controllers/extensionController.php
+++ b/app/Controllers/extensionController.php
@@ -49,10 +49,7 @@ class FreshRSS_extension_Controller extends Minz_ActionController {
}
$this->view->extension = $ext;
-
- if (Minz_Request::isPost()) {
- $this->view->extension->handleConfigureAction();
- }
+ $this->view->extension->handleConfigureAction();
}
/**
diff --git a/lib/Minz/Extension.php b/lib/Minz/Extension.php
index a24c718c3..b3991c129 100644
--- a/lib/Minz/Extension.php
+++ b/lib/Minz/Extension.php
@@ -104,7 +104,7 @@ class Minz_Extension {
}
/**
- * Handle the configure POST action.
+ * Handle the configure action.
*
* It must be redefined by child classes.
*/