From 96b74a1594456dc1879df03222656e0dec815ad6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 30 Nov 2010 17:58:44 +0000 Subject: - Patch #975134 by rschwab: improve links for steps after installing new theme. --- modules/system/system.updater.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'modules/system') diff --git a/modules/system/system.updater.inc b/modules/system/system.updater.inc index c86a518bb..c731c1588 100644 --- a/modules/system/system.updater.inc +++ b/modules/system/system.updater.inc @@ -136,17 +136,11 @@ class ThemeUpdater extends Updater implements DrupalUpdaterInterface { clearstatcache(); system_rebuild_theme_data(); - // Active the theme - db_update('system') - ->fields(array('status' => 1)) - ->condition('type', 'theme') - ->condition('name', $this->name) - ->execute(); } public function postInstallTasks() { return array( - l(t('Set the !project theme as default', array('!project' => $this->title)), 'admin/appearance'), + l(t('Enable newly added themes'), 'admin/appearance'), l(t('Administration pages'), 'admin'), ); } -- cgit v1.2.3