From: Nik Okuntseff Date: Sat, 13 Apr 2019 18:59:51 +0000 (+0000) Subject: Improved cleanup code. X-Git-Tag: timetracker_1.19-1~102 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=181d072f27ced2ed2e350dc66ee6aaeafce9f4bf;p=timetracker.git Improved cleanup code. --- diff --git a/WEB-INF/lib/ttOrgHelper.class.php b/WEB-INF/lib/ttOrgHelper.class.php index a4be2e96..9bf1ad78 100644 --- a/WEB-INF/lib/ttOrgHelper.class.php +++ b/WEB-INF/lib/ttOrgHelper.class.php @@ -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. diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 80f684b6..167779d1 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.64.4932 | Copyright © Anuko | +  Anuko Time Tracker 1.18.64.4933 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}