X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-country.php;h=5e62d49da6326ac38ad2d756fa3bbd8145ee4227;hp=cdf0382a34eeaaa643785eee699ff75ff08f743b;hb=596c8ab32594401ca84abfbfe35513ddfff31bec;hpb=c15eee48f9da1469cf3cdca3a48ba2d3c382a7c9 diff --git a/inc/extensions/ext-country.php b/inc/extensions/ext-country.php index cdf0382a34..5e62d49da6 100644 --- a/inc/extensions/ext-country.php +++ b/inc/extensions/ext-country.php @@ -82,7 +82,7 @@ UNIQUE INDEX (`code`)", addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `action`='country'"); // Unregister filter - unregisterFilter(__FILE__, __LINE__, 'pre_user_registration', 'COUNTRY_USER_REGISTRATION_ADD_SQL_COLUMNS', true, isExtensionDryRun()); + unregisterFilter(__FILE__, __LINE__, 'pre_user_registration', 'COUNTRY_USER_REGISTRATION_ADD_SQL_COLUMNS', TRUE, isExtensionDryRun()); break; case 'activate': // Do stuff when admin activates this extension @@ -119,7 +119,7 @@ UNIQUE INDEX (`code`)", case '0.0.5': // SQL queries for v0.0.5 // Register a filter - registerFilter(__FILE__, __LINE__, 'pre_user_registration', 'COUNTRY_USER_REGISTRATION_ADD_SQL_COLUMNS', false, true, isExtensionDryRun()); + registerFilter(__FILE__, __LINE__, 'pre_user_registration', 'COUNTRY_USER_REGISTRATION_ADD_SQL_COLUMNS', FALSE, TRUE, isExtensionDryRun()); // This depends on ext-register addExtensionDependency('register');