diff options
| author | 2019-08-02 11:40:57 +0200 | |
|---|---|---|
| committer | 2019-08-02 11:40:57 +0200 | |
| commit | 49e1a2c579757994ae4ed5994339bd58a09238db (patch) | |
| tree | 5c37260a84dbb40b3c26fe018b492838430fa551 /app/Controllers/subscriptionController.php | |
| parent | 89427e45e5413d400b1398710785df6d0c7153ee (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/subscriptionController.php')
| -rw-r--r-- | app/Controllers/subscriptionController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php index 79da39751..f6d5e9457 100644 --- a/app/Controllers/subscriptionController.php +++ b/app/Controllers/subscriptionController.php @@ -74,7 +74,7 @@ class FreshRSS_subscription_Controller extends Minz_ActionController { */ public function feedAction() { if (Minz_Request::param('ajax')) { - $this->view->_useLayout(false); + $this->view->_layout(false); } $feedDAO = FreshRSS_Factory::createFeedDao(); @@ -152,7 +152,7 @@ class FreshRSS_subscription_Controller extends Minz_ActionController { } public function categoryAction() { - $this->view->_useLayout(false); + $this->view->_layout(false); $categoryDAO = FreshRSS_Factory::createCategoryDao(); |
