Rollback of role upgrade as something apparently not working.
authorNik Okuntseff <support@anuko.com>
Sun, 11 Mar 2018 23:25:59 +0000 (23:25 +0000)
committerNik Okuntseff <support@anuko.com>
Sun, 11 Mar 2018 23:25:59 +0000 (23:25 +0000)
WEB-INF/templates/footer.tpl
initialize.php

index 84441b4..d04ee53 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.17.37.4054 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.17.38.4055 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index 63ed88d..53342b6 100644 (file)
@@ -170,11 +170,12 @@ $msg = new ActionErrors(); // Notification messages (not errrors) for user.
 import('ttUser');
 $user = new ttUser(null, $auth->getUserId());
 // Temporary code to assign role_id to users who don't yet have it.
+/*
 if ($user->login && !$user->role_id) {
   $user->migrateLegacyRole();
   // Recycle User object, now with proper role_id.
   $user = new ttUser(null, $auth->getUserId());
-}
+}*/
 if ($user->custom_logo) {
   $smarty->assign('custom_logo', 'images/'.$user->team_id.'.png');
   $smarty->assign('mobile_custom_logo', '../images/'.$user->team_id.'.png');