]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-order.php
Major fixes in filters/extensions, other improvements:
[mailer.git] / inc / extensions / ext-order.php
index 938d97c57f807a520433fc2aca8ba6d340431c30..3197c40687fb3ed9e4545b5c38e7876712debfb0 100644 (file)
@@ -301,10 +301,12 @@ nicht die vom Mitglied eingegebene. Resultat: Das Script beschwerte sich, der Us
        }
        break;
 
+case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
+       break;
+
 default: // Do stuff when extension is loaded
        // Do daily reset only when installed and extension version is at least 0.1.1
-       if ((isBooleanConstantAndTrue('__DAILY_RESET')) && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')) && (GET_EXT_VERSION("order") >= "0.1.1"))
-       {
+       if ((isBooleanConstantAndTrue('__DAILY_RESET')) && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')) && (GET_EXT_VERSION("order") >= "0.1.1")) {
                // Reset mail order values
                $result_ext = SQL_QUERY("UPDATE `"._MYSQL_PREFIX."_user_data` SET mail_orders=0 WHERE mail_orders > 0", __FILE__, __LINE__);
        }