X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-profile.php;h=18c70c3f341a68625cfcd4acb8f765146b202eab;hb=46f2e389417a40f1029612b58cb285416ccae7a5;hp=e108fce6b8f6bc005edac897ce2e3298a41d9e89;hpb=fb7120ffa230b62b54895bcf95952e1cf30f8594;p=mailer.git diff --git a/inc/extensions/ext-profile.php b/inc/extensions/ext-profile.php index e108fce6b8..18c70c3f34 100644 --- a/inc/extensions/ext-profile.php +++ b/inc/extensions/ext-profile.php @@ -52,22 +52,22 @@ switch ($EXT_LOAD_MODE) { case "register": // Do stuff when installation is running (modules.php?module=admin&action=login is called) // SQL commands to run - ADD_SQL(""); + ADD_EXT_SQL(""); break; case "remove": // Do stuff when removing extension // SQL commands to run - ADD_SQL(""); + ADD_EXT_SQL(""); break; case "activate": // Do stuff when admin activates this extension // SQL commands to run - ADD_SQL(""); + ADD_EXT_SQL(""); break; case "deactivate": // Do stuff when admin deactivates this extension // SQL commands to run - ADD_SQL(""); + ADD_EXT_SQL(""); break; case "update": // Update an extension @@ -130,7 +130,7 @@ default: // Do stuff when extension is loaded // Do we have a daily-reset-run? if (isResetModeEnabled() && (!isDebugModeEnabled()) && ($GLOBALS['output_mode'] != 1)) { // So let's check for profiles which needs an update - $INC_POOL[] = sprintf("%sinc/profile-updte.php", constant('PATH')); + ADD_INC_TO_POOL(sprintf("%sinc/profile-updte.php", constant('PATH'))); } break; }