From c46106d305d91e93fb63c0d601a5a006a02bb63a Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Tue, 22 Mar 2016 09:44:09 -0700 Subject: [PATCH] Refactoring - cleaning up whitespace --- WEB-INF/lib/Auth.class.php | 10 +++++----- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/WEB-INF/lib/Auth.class.php b/WEB-INF/lib/Auth.class.php index e8a4ec07..2c3c657d 100644 --- a/WEB-INF/lib/Auth.class.php +++ b/WEB-INF/lib/Auth.class.php @@ -52,17 +52,17 @@ class Auth { { return false; } - + // isPasswordExternal - returns true if actual password is not stored in the internal DB. function isPasswordExternal() { return false; } - + // doLogin - perfoms a login procedure. function doLogin($login, $password) { $auth = $this->authenticate($login, $password); - + if (defined('AUTH_DEBUG') && isTrue(AUTH_DEBUG)) { echo '
'; var_dump($auth); echo '
'; } @@ -86,7 +86,7 @@ class Auth { echo 'login "'.$login.'" does not exist in Time Tracker database.
'; return false; } - + $this->setAuth($val['id'], $login); return true; } @@ -111,7 +111,7 @@ class Auth { function getUserLogin() { return $_SESSION['login']; } - + // getUserId - retrieves user ID from session. function getUserId() { if (isset($_SESSION['authenticated_user_id'])) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 76cd6620..de4ef310 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.9.16.3431 | Copyright © Anuko | +  Anuko Time Tracker 1.9.16.3432 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.39.5