aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.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/feedController.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/feedController.php')
-rwxr-xr-xapp/Controllers/feedController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php
index 862bb10fb..c2c0cce37 100755
--- a/app/Controllers/feedController.php
+++ b/app/Controllers/feedController.php
@@ -530,7 +530,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
);
Minz_Session::_param('notification', $notif);
// No layout in ajax request.
- $this->view->_useLayout(false);
+ $this->view->_layout(false);
} else {
// Redirect to the main page with correct notification.
if ($updated_feeds === 1) {