Some major rewrites + ext-network continued:
[mailer.git] / inc / extensions / ext-booking.php
index 66e93c3fc341bc302bb8142f2e689079dc801653..5a5d6eaae02eef71063885110a56c401038fbe2d 100644 (file)
@@ -48,7 +48,7 @@ setExtensionVersionHistory(array('0.0.0', '0.0.1'));
 
 // Check extension load-mode
 switch (getExtensionMode()) {
-       case 'register': // Do stuff when installation is running
+       case 'setup': // Do stuff when installation is running
                // Configuration entries
                addConfigAddSql('booking_page_count', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
                addConfigAddSql('booking_purge', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 3));