From: Nik Okuntseff Date: Wed, 11 Apr 2018 17:37:14 +0000 (+0000) Subject: Improved a comment explaining class reuse. X-Git-Tag: timetracker_1.19-1~847 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9cfce2e3c14aad3d25c50b12bd7d976e0dd77721;p=timetracker.git Improved a comment explaining class reuse. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index e4b69918..05db3fa5 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.88.4253 | Copyright © Anuko | +  Anuko Time Tracker 1.17.88.4254 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/group_delete.php b/group_delete.php index 6aa0d11d..b2977ee4 100644 --- a/group_delete.php +++ b/group_delete.php @@ -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'];