Wrapper function introduced, double-quotes converted to single:
[mailer.git] / inc / extensions / ext-booking.php
index 12dc7236a9c49e050d7467aaf1b9dda7dbe4a963..4988be1bd67728cc1952fab8ec09405f92a01130 100644 (file)
@@ -52,8 +52,8 @@ enableExtensionProductive(false);
 switch (getExtensionMode()) {
        case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
                // Configuration entries
-               addConfigAddSql('booking_per_page', "TINYINT(3) UNSIGNED NOT NULL DEFAULT 10");
-               addConfigAddSql('booking_purge', "BIGINT(20) UNSIGNED NOT NULL DEFAULT ".(getOneDay() * 3)."");
+               addConfigAddSql('booking_per_page', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
+               addConfigAddSql('booking_purge', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 3));
 
                // Drop/create table for user bookings
                addDropTableSql('user_book');