Improved a comment explaining class reuse.
authorNik Okuntseff <support@anuko.com>
Wed, 11 Apr 2018 17:37:14 +0000 (17:37 +0000)
committerNik Okuntseff <support@anuko.com>
Wed, 11 Apr 2018 17:37:14 +0000 (17:37 +0000)
WEB-INF/templates/footer.tpl
group_delete.php

index e4b6991..05db3fa 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.88.4253 | 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.88.4254 | 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 6aa0d11..b2977ee 100644 (file)
@@ -42,8 +42,9 @@ if ($user->group_id != $group_id) {
 }
 // End of access checks.
 
-// Note: reuse ttAdmin class here, simply because deleting a group
-// is a complicated task.
+// Note: reuse ttAdmin class here because deleting a group is a complicated task.
+// This creates an issue of using the class for not intended purpose.
+// However, otherwise we have to duplicate code, so reuse it is, for now.
 $admin = new ttAdmin();
 $group_details = $admin->getGroupDetails($group_id);
 $group_name = $group_details['group_name'];