From 181d072f27ced2ed2e350dc66ee6aaeafce9f4bf Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sat, 13 Apr 2019 18:59:51 +0000 Subject: [PATCH] Improved cleanup code. --- WEB-INF/lib/ttOrgHelper.class.php | 2 ++ WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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} -- 2.20.1