summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-11-27 20:25:44 +0000
committerDries Buytaert <dries@buytaert.net>2010-11-27 20:25:44 +0000
commit84c72d06f03163115ae9bbc939e6ab2dbc65eb28 (patch)
tree70506c548713a51c9f9e51e866849b5858de46fd /modules/taxonomy
parent22cfc5bb2cf84d88356b50ab8f497add152d1858 (diff)
downloadbrdo-84c72d06f03163115ae9bbc939e6ab2dbc65eb28.tar.gz
brdo-84c72d06f03163115ae9bbc939e6ab2dbc65eb28.tar.bz2
- Patch #669510 by quicksketch, David_Rothstein, Dave Reid, casey, Gábor Hojtsy, mrfelton, effulgentsia: merge administration theme with hook_admin_paths().
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.test4
2 files changed, 2 insertions, 4 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index e2e99a983..fd473e226 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -299,8 +299,6 @@ function taxonomy_menu() {
'page arguments' => array('taxonomy_form_term', 2),
'access callback' => 'taxonomy_term_edit_access',
'access arguments' => array(2),
- 'theme callback' => 'variable_get',
- 'theme arguments' => array('admin_theme'),
'type' => MENU_LOCAL_TASK,
'weight' => 10,
'file' => 'taxonomy.admin.inc',
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test
index 7d5533b77..b31f7898b 100644
--- a/modules/taxonomy/taxonomy.test
+++ b/modules/taxonomy/taxonomy.test
@@ -1153,8 +1153,8 @@ class TaxonomyThemeTestCase extends TaxonomyWebTestCase {
variable_set('admin_theme', 'seven');
// Create and log in as a user who has permission to add and edit taxonomy
- // terms.
- $admin_user = $this->drupalCreateUser(array('administer taxonomy'));
+ // terms and view the administrative theme.
+ $admin_user = $this->drupalCreateUser(array('administer taxonomy', 'view the administration theme'));
$this->drupalLogin($admin_user);
}