Improved cleanup code.
authorNik Okuntseff <support@anuko.com>
Sat, 13 Apr 2019 18:59:51 +0000 (18:59 +0000)
committerNik Okuntseff <support@anuko.com>
Sat, 13 Apr 2019 18:59:51 +0000 (18:59 +0000)
WEB-INF/lib/ttOrgHelper.class.php
WEB-INF/templates/footer.tpl

index a4be2e9..9bf1ad7 100644 (file)
@@ -135,6 +135,8 @@ class ttOrgHelper {
     if (is_a($affected, 'PEAR_Error'))
       return false;
 
+    if ($affected == 0) return true; // Do not call file storage utility.
+
     // Try to make a call to file storage facility.
     if (!defined('FILE_STORAGE_URI')) return true; // Nothing to do.
 
index 80f684b..167779d 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.18.64.4932 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.64.4933 | 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>