]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-birthday.php
Debug code commented out
[mailer.git] / inc / extensions / ext-birthday.php
index 15664c8d132ce927f1a03f18e9adeed9cf804769..71aeeb7174745e4b87d34562f505c72297e1f5a7 100644 (file)
@@ -57,7 +57,7 @@ case "remove": // Do stuff when removing extension
        // SQL commands to run
        $SQLs[] = "ALTER TABLE `{!_MYSQL_PREFIX!}_user_data` DROP birthday_sent";
        $SQLs[] = "DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_user_birthday`";
-       $SQLs[] = "DELETE LOW_PRIORITY FROM `{!_MYSQL_PREFIX!}_admin_menu` WHERE what='config_birthday' LIMIT 1";
+       $SQLs[] = "DELETE LOW_PRIORITY FROM `{!_MYSQL_PREFIX!}_admin_menu` WHERE `what`='config_birthday' LIMIT 1";
        break;
 
 case "activate": // Do stuff when admin activates this extension
@@ -122,7 +122,7 @@ PRIMARY KEY(id)
 
        case "0.2.8": // SQL queries for v0.2.8
                // Update notes (these will be set as task text!)
-               $UPDATE_NOTES = "Vergessenes _OB_CACHING gesetzt.";
+               $UPDATE_NOTES = "Vergessenes <strong>_OB_CACHING</strong> gesetzt.";
                break;
 
        case "0.2.9": // SQL queries for v0.2.9
@@ -196,7 +196,7 @@ default: // Do stuff when extension is loaded
        if ((isBooleanConstantAndTrue('__DAILY_RESET')) && (getConfig('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[] = sprintf("%sinc/mails/birthday_mails.php", PATH);
+               $INC_POOL[] = sprintf("%sinc/mails/birthday_mails.php", constant('PATH'));
        }
        break;
 }