diff options
author | Daniel <darthdaniel85@gmail.com> | 2013-12-02 12:25:10 -0500 |
---|---|---|
committer | Daniel <darthdaniel85@gmail.com> | 2013-12-02 12:25:10 -0500 |
commit | bc738b910f44ed6998dc2d181fb284f029a9a4d2 (patch) | |
tree | 1940c1a2347640c85713a8da3531bacade8f4516 /framework/Wsat/pages/TWsatLogin.php | |
parent | 22276c273cc158cf12fd7b63e581b08cdae7b6f1 (diff) |
Removing unnecessary dependencies!
Diffstat (limited to 'framework/Wsat/pages/TWsatLogin.php')
-rw-r--r-- | framework/Wsat/pages/TWsatLogin.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/framework/Wsat/pages/TWsatLogin.php b/framework/Wsat/pages/TWsatLogin.php index 02d5c9fd..7f0927b6 100644 --- a/framework/Wsat/pages/TWsatLogin.php +++ b/framework/Wsat/pages/TWsatLogin.php @@ -18,12 +18,7 @@ class TWsatLogin extends TPage { $this->Session["wsat_password"] = $this->getService()->getPassword(); - $authManager = $this->Application->getModule('auth'); - $url = $authManager->ReturnUrl; - if (empty($url)) - { - $url = $this->Service->constructUrl('TWsatHome'); - } + $url = $this->Service->constructUrl('TWsatHome'); $this->Response->redirect($url); } } |