]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-birthday.php
Obsoleted parameters to SQL_AFFECTED_ROWS() removed, OPEN_TABLE() and CLOSE_TABLE...
[mailer.git] / inc / extensions / ext-birthday.php
index 067f106d69348c1c40f635123df3faa8ca771b33..3e8d6d8a9648decfcf85038a0b216366baa6f794 100644 (file)
@@ -129,7 +129,7 @@ PRIMARY KEY(id)
 
        case "0.2.9": // SQL queries for v0.2.9
                // Update notes (these will be set as task text!)
-               $UPDATE_NOTES = "Seit <A href=\"".SERVER_URL."/patches/340-Gast_Mitgliedsmenue_Deaktivieren.zip\">Patch 340</A> &uuml;berfl&uuml;ssige HTML-Tags entfernt.";
+               $UPDATE_NOTES = "Seit <A href=\"#\">Patch 340</A> &uuml;berfl&uuml;ssige HTML-Tags entfernt.";
                break;
 
        case "0.3.0": // SQL queries for v0.3.0
@@ -186,16 +186,16 @@ default: // Do stuff when extension is loaded
        $dummy = LOAD_CONFIG();
 
        // Copy config to main array
-       $_CONFIG = array_merge($_CONFIG, $dummy);
+       $_CONFIG = merge_array($_CONFIG, $dummy);
 
        // Save some RAM...
        unset($dummy);
 
-       if ((defined('__DAILY_RESET')) && ($_CONFIG['birthday_points'] > 0))
+       if ((isBooleanConstantAndTrue('__DAILY_RESET')) && ($_CONFIG['birthday_points'] > 0))
        {
                // Daily reset was run and we shall pay points so we start checking for members who
                // has a birthday for today
-               $INC_POOL[] = PATH."inc/mails/birthday_mails.php";
+               $INC_POOL[] = sprintf("%sinc/mails/birthday_mails.php", PATH);
        }
        break;
 }