Full rewrite of extension updates (multiple updates are supported)
[mailer.git] / inc / extensions / ext-profile.php
index e108fce6b8f6bc005edac897ce2e3298a41d9e89..18c70c3f341a68625cfcd4acb8f765146b202eab 100644 (file)
@@ -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;
 }