X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-birthday.php;h=71aeeb7174745e4b87d34562f505c72297e1f5a7;hb=1f507f190ba73b50dc005b6d5597422f239b3761;hp=15664c8d132ce927f1a03f18e9adeed9cf804769;hpb=5bdeaf8b452206598b6c6cd4f941145b11a0eccc;p=mailer.git diff --git a/inc/extensions/ext-birthday.php b/inc/extensions/ext-birthday.php index 15664c8d13..71aeeb7174 100644 --- a/inc/extensions/ext-birthday.php +++ b/inc/extensions/ext-birthday.php @@ -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 _OB_CACHING 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; }