PluginProbe
CSS & JavaScript Toolbox / 7.2
CSS & JavaScript Toolbox v7.2
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | controllers/blocks.php +8 -0 6.07.2 View file →
@@ -54,8 +54,9 @@
54 54 $backupId = filter_input(INPUT_GET, 'backupId', FILTER_SANITIZE_NUMBER_INT);
55 55 $blocks['filters']['type'] = 'block';
56 56 // If backupId is not provided it must be NULL in the filter,
57 57 $blocks['filters']['backupId'] = $backupId ? $backupId : null;
58 + $blocks['filters']['returnCodeFile'] = true;
58 59 // Push data to the view.
59 60 $this->view->blocks = $this->model->getBlocks(null, $blocks['filters']);
60 61 $this->view->order = $this->model->getOrder();
61 62 $this->view->backupId = $blocks['filters']['backupId'];
@@ -71,8 +72,15 @@
71 72 * put your comment there...
72 73 *
73 74 */
74 75 protected function installAction() {
76 + // Initialize.
77 + $model = $this->getModel('installer');
78 + // Do fresh installation if the installed version and the
79 + // current version doesn't share the same release and edition signs.
80 + if ($model->isUpgrade() && $model->isCommonRelease()) {
81 + $this->request['layout'] = 'upgrade';
82 + }
75 83 echo parent::displayAction();
76 84 }
77 85
78 86 /**