From c05e99aa2044fdfc4fbd539be2c04069e06aa706 Mon Sep 17 00:00:00 2001 From: Rasmus Fuhse <fuhse@data-quest.de> Date: Fri, 7 Jul 2017 17:21:53 +0200 Subject: [PATCH] re #78 --- controllers/approving.php | 1 - controllers/myplugins.php | 2 -- controllers/presenting.php | 3 --- 3 files changed, 6 deletions(-) diff --git a/controllers/approving.php b/controllers/approving.php index 9c394a2..bf2f8c3 100755 --- a/controllers/approving.php +++ b/controllers/approving.php @@ -12,7 +12,6 @@ class ApprovingController extends MarketController } Navigation::activateItem("/pluginmarket/approving"); - $this->set_content_type('text/html;charset=windows-1252'); } public function overview_action() diff --git a/controllers/myplugins.php b/controllers/myplugins.php index 272b315..0bdd522 100755 --- a/controllers/myplugins.php +++ b/controllers/myplugins.php @@ -6,9 +6,7 @@ class MypluginsController extends MarketController function before_filter(&$action, &$args) { parent::before_filter($action, $args); - Navigation::activateItem("/pluginmarket/myplugins"); - $this->set_content_type('text/html;charset=windows-1252'); } public function overview_action() diff --git a/controllers/presenting.php b/controllers/presenting.php index 5ec1cfb..9be63f0 100755 --- a/controllers/presenting.php +++ b/controllers/presenting.php @@ -234,7 +234,6 @@ class PresentingController extends MarketController if (Request::isXhr()) { $this->response->add_header('X-Title', $this->review->isNew() ? _("Plugin reviewen") : _("Review bearbeiten")); $this->set_layout(null); - $this->set_content_type('text/html;charset=windows-1252'); } } @@ -316,7 +315,6 @@ class PresentingController extends MarketController if (Request::isXhr()) { $this->response->add_header('X-Title', sprintf(_('Automatisches Update für "%s" einrichten'), $this->release->plugin['name']." ".$this->release['version'])); $this->set_layout(null); - $this->set_content_type('text/html;charset=windows-1252'); } } @@ -339,7 +337,6 @@ class PresentingController extends MarketController if (Request::isXhr()) { $this->response->add_header('X-Title', _("Plugin abonnieren")); $this->set_layout(null); - $this->set_content_type('text/html;charset=windows-1252'); } } -- GitLab