From 8e2899f62bc3565cd9b1fdd7b84a827aa29c847b Mon Sep 17 00:00:00 2001 From: xia0ta0 Date: Fri, 27 Feb 2015 08:40:37 +0800 Subject: [PATCH] - remove editor from extension. --- module/extension/control.php | 5 ----- module/extension/view/header.html.php | 13 ++++++------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/module/extension/control.php b/module/extension/control.php index 1ab2345c80..17905290d9 100644 --- a/module/extension/control.php +++ b/module/extension/control.php @@ -11,11 +11,6 @@ */ class extension extends control { - public function __construct() - { - parent::__construct(); - $this->app->loadLang('editor'); - } /** * Browse extensions. * diff --git a/module/extension/view/header.html.php b/module/extension/view/header.html.php index fe8593f6af..b0cd853445 100644 --- a/module/extension/view/header.html.php +++ b/module/extension/view/header.html.php @@ -2,13 +2,12 @@
' . $lang->extension->obtain, '', "class='btn'");?>