Skip to content

Commit

Permalink
CRM-10612 - civicrmtheme - Don't perform extra theme-selection logic …
Browse files Browse the repository at this point in the history
…when running civicrm/upgrade.
  • Loading branch information
totten committed Aug 6, 2012
1 parent 6c760e4 commit e5cd2cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drupal/modules/civicrmtheme/civicrmtheme.module
Expand Up @@ -103,6 +103,9 @@ function civicrmtheme_custom_theme() {
if (arg(0) != 'civicrm') {
return;
}
if (arg(1) == 'upgrade') {
return;
}

$admin_theme = variable_get('civicrmtheme_theme_admin', 0);
$public_theme = variable_get('civicrmtheme_theme_public', 0);
Expand Down

0 comments on commit e5cd2cb

Please sign in to comment.