]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-profile.php
Global variables rewritten
[mailer.git] / inc / extensions / ext-profile.php
index 745eabfd02a8ffd512a96bd5c68610b5fb1091e1..d9fe6f61a731fbb99c295f9e3fddc9c0465aa6c5 100644 (file)
@@ -93,7 +93,7 @@ case "update": // Update an extension
 
        case "0.0.5": // SQL queries for v0.0.5
                // Update notes (these will be set as task text!)
-               $UPDATE_NOTES = "Profilaktualisierungsmails werden nur dann ausgesendet, wenn <U>profile_update</U> und <U>prof_reupdate</U> &gt; 0 sind.";
+               $UPDATE_NOTES = "Profilaktualisierungsmails werden nur dann ausgesendet, wenn <u>profile_update</u> und <u>prof_reupdate</u> &gt; 0 sind.";
                break;
 
        case "0.0.6": // SQL queries for v0.0.6
@@ -103,12 +103,12 @@ case "update": // Update an extension
 
        case "0.0.7": // SQL queries for v0.0.7
                // Update notes (these will be set as task text!)
-               $UPDATE_NOTES = "W&ouml;rter <STRONG>Mailtausch</STRONG>, <STRONG>Mailtausches</STRONG> und <STRONG>Mailtauscher</STRONG> sind austauschbar.";
+               $UPDATE_NOTES = "W&ouml;rter <strong>Mailtausch</strong>, <strong>Mailtausches</strong> und <strong>Mailtauscher</strong> sind austauschbar.";
                break;
 
        case "0.0.8": // SQL queries for v0.0.8
                // Update notes (these will be set as task text!)
-               $UPDATE_NOTES = "Namenskonflikt gel&ouml;sst mit Erweiterung <STRONG>update</STRONG> (kommt noch raus!)";
+               $UPDATE_NOTES = "Namenskonflikt gel&ouml;sst mit Erweiterung <strong>update</strong> (kommt noch raus!)";
                break;
 
        case "0.0.9": // SQL queries for v0.0.9
@@ -118,17 +118,17 @@ case "update": // Update an extension
        }
        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 we have a daily-reset-run?
-       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
-       {
+       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($GLOBALS['output_mode'] != 1)) {
                // So let's check for profiles which needs an update
-               $INC_POOL[] = sprintf("%sinc/profile-updte.php", PATH);
+               $INC_POOL[] = sprintf("%sinc/profile-updte.php", constant('PATH'));
        }
        break;
 }
-// Language file prefix
-$EXT_LANG_PREFIX = "profile";
 
 //
 ?>