aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/extensionController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2019-08-02 11:40:57 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-08-02 11:40:57 +0200
commit49e1a2c579757994ae4ed5994339bd58a09238db (patch)
tree5c37260a84dbb40b3c26fe018b492838430fa551 /app/Controllers/extensionController.php
parent89427e45e5413d400b1398710785df6d0c7153ee (diff)
Allow to change the view layout (#2467)
The `_useLayout` function is marked as deprecated, replaced by a more powerful `_layout` function.
Diffstat (limited to 'app/Controllers/extensionController.php')
-rw-r--r--app/Controllers/extensionController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/extensionController.php b/app/Controllers/extensionController.php
index 806e5a696..9a523e0ad 100644
--- a/app/Controllers/extensionController.php
+++ b/app/Controllers/extensionController.php
@@ -80,7 +80,7 @@ class FreshRSS_extension_Controller extends Minz_ActionController {
*/
public function configureAction() {
if (Minz_Request::param('ajax')) {
- $this->view->_useLayout(false);
+ $this->view->_layout(false);
} else {
$this->indexAction();
$this->view->change_view('extension', 'index');