Skip to content

Commit

Permalink
For the moment let's just disable the menu, later we will fix the is…
Browse files Browse the repository at this point in the history
…sue elkarte#1002

Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Nov 12, 2013
1 parent 66eeeb0 commit a4453c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/admin/Admin.controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function action_index()
$config_areas->childOf('languages')->add('languages_sub')->addBulk(
array(
'edit' => array($txt['language_edit']),
'add' => array($txt['language_add']),
// 'add' => array($txt['language_add']),
'settings' => array($txt['language_settings']),
)
);
Expand Down
2 changes: 1 addition & 1 deletion sources/admin/ManageLanguages.controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function action_index()

$subActions = array(
'edit' => array($this, 'action_edit', 'permission' => 'admin_forum'),
'add' => array($this, 'action_add', 'permission' => 'admin_forum'),
// 'add' => array($this, 'action_add', 'permission' => 'admin_forum'),
'settings' => array($this, 'action_languageSettings_display', 'permission' => 'admin_forum'),
'downloadlang' => array($this, 'action_downloadlang', 'permission' => 'admin_forum'),
'editlang' => array($this, 'action_editlang', 'permission' => 'admin_forum'),
Expand Down

0 comments on commit a4453c6

Please sign in to comment.