diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-11-30 17:58:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-11-30 17:58:44 +0000 |
commit | 96b74a1594456dc1879df03222656e0dec815ad6 (patch) | |
tree | 082840dc07d9d36e2d465d9cfa000b8bf4f4f8c7 | |
parent | ab0c19f2bc7a8e765a42b6acac65a30433ff04fb (diff) | |
download | brdo-96b74a1594456dc1879df03222656e0dec815ad6.tar.gz brdo-96b74a1594456dc1879df03222656e0dec815ad6.tar.bz2 |
- Patch #975134 by rschwab: improve links for steps after installing new theme.
-rw-r--r-- | modules/system/system.updater.inc | 8 |
1 files changed, 1 insertions, 7 deletions
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'), ); } |