]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions-functions.php
Damn thing, that where local changes :(
[mailer.git] / inc / extensions-functions.php
index e7e6bce3085bee962e5c0d2925ddb8f408e4b940..7e65fe9c0d8ce6cac7a88d719084438f5851ae44 100644 (file)
@@ -1145,7 +1145,7 @@ function addExtensionNotes ($ext_ver) {
                        // No update notes found
                        $content = array(
                                'ver'   => $ext_ver,
-                               'notes' => '{--NO_UPDATE_NOTES--}'
+                               'notes' => '{--NO_UPDATE_NOTICES--}'
                        );
                }
 
@@ -1314,7 +1314,7 @@ function isExtensionUpdateRunning ($ext_name, $ignoreDependencies = false) {
                $isRunning = false;
 
                // Walk through whole array
-               foreach ($GLOBALS['ext_running_updates'] as $ext1=>$depends) {
+               foreach ($GLOBALS['ext_running_updates'] as $ext1 => $depends) {
                        // Is it found?
                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext1=' . $ext1 . ',ext_name=' . $ext_name . ',depends=' . print_r($depends, true));
                        if (($ext1 == $ext_name) || ((in_array($ext_name, $depends)) && ($ignoreDependencies === false))) {
@@ -1422,7 +1422,7 @@ function getExtensionVersionHistory () {
        return $GLOBALS['ext_ver_history'][getCurrentExtensionName()];
 }
 
-// Setter for EXT_UPDATE_NOTES
+// Setter for EXT_UPDATE_NOTICES
 function setExtensionUpdateNotes ($updateNotes, $ext_ver = '') {
        //
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'getCurrentExtensionName()=' . getCurrentExtensionName() . ',getExtensionMode()=' . getExtensionMode() . ',ext_ver=' . $ext_ver . '/' . getCurrentExtensionVersion() . ',updateNotes()=' . strlen($updateNotes));
@@ -1433,7 +1433,7 @@ function setExtensionUpdateNotes ($updateNotes, $ext_ver = '') {
        }
 }
 
-// Getter for EXT_UPDATE_NOTES
+// Getter for EXT_UPDATE_NOTICES
 function getExtensionUpdateNotes ($ext_ver) {
        return $GLOBALS['ext_update_notes'][getCurrentExtensionName()][$ext_ver];
 }