summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-20 16:49:06 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-20 16:49:06 +0000
commitf24c8f66ea9673d812c882dd7db6fbe49bd01dfb (patch)
treecb71c85c7dc7d29090c30a858f20a64cb3bbc720 /modules
parent3dc55716291dfa2bc70a4b23bcc8e24c8b6abe25 (diff)
Move the first-admin-login steps out of the user module and into an event listener in core
Diffstat (limited to 'modules')
-rw-r--r--modules/user/controllers/login.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/user/controllers/login.php b/modules/user/controllers/login.php
index 1e2e2f2f..7853f725 100644
--- a/modules/user/controllers/login.php
+++ b/modules/user/controllers/login.php
@@ -67,13 +67,6 @@ class Login_Controller extends Controller {
if ($valid) {
user::login($user);
log::info("user", t("User %name logged in", array("name" => $user->name)));
-
- // If this user is an admin, check to see if there are any post-install tasks that we need
- // to run and take care of those now.
- if ($user->admin && module::get_var("core", "choose_default_tookit", null)) {
- graphics::choose_default_toolkit();
- module::clear_var("core", "choose_default_tookit");
- }
}
return array($valid, $form);