]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-autopurge.php
More wrapper functions used, removed bigintval() which caused a lot trouble
[mailer.git] / inc / extensions / ext-autopurge.php
index 904ab4d5a1def6a2d0e6c9b5c0b6bd3f53b04dbd..e88c037b25332e4c37da1008b72b63381c845bde 100644 (file)
@@ -127,7 +127,7 @@ switch (getExtensionMode()) {
 
                        case '0.1.9': // SQL queries for v0.1.9
                                addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `autopurge_tasks` ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `ap_tasks_time` BIGINT(20) UNSIGNED NOT NULL DEFAULT '".(getConfig('ONE_DAY')*7)."'");
+                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `ap_tasks_time` BIGINT(20) UNSIGNED NOT NULL DEFAULT '".(getOneDay()*7)."'");
 
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Bereinigung von zu l&ouml;schenden Aufgaben klappt wieder. Zeitlimit f&uuml;r genanntes kann eingestellt werden (Default = 7 Tage).<br /><br /><u>Bitte aktualisieren Sie auch die Admin-Templates!</u>");