Skip to content

Commit

Permalink
reverting own changes, prepare for a clean cherry-pick :)
Browse files Browse the repository at this point in the history
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
  • Loading branch information
eurich committed Jun 3, 2013
1 parent b549834 commit 571d142
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions sources/Load.php
Original file line number Diff line number Diff line change
Expand Up @@ -2084,8 +2084,7 @@ function loadLanguage($template_name, $lang = '', $fatal = true, $force_reload =
}
$txt['emails'] = array();
}
// @todo: sending birthday mails currently broken, $birthdayEmails not initialized !
if (!empty($birthdayEmails))
if (!empty($birthdayEmails))
{
foreach ($birthdayEmails as $key => $value)
{
Expand Down
4 changes: 2 additions & 2 deletions sources/ScheduledTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ function scheduled_fetchFiles()
*/
function scheduled_birthdayemails()
{
global $modSettings, $txt, $birthdayEmails;
global $modSettings, $mbname, $txt, $birthdayEmails;

$db = database();

Expand Down Expand Up @@ -1946,4 +1946,4 @@ function scheduled_remove_old_followups()
removeFollowUpsByMessage($remove);

return true;
}
}

0 comments on commit 571d142

Please sign in to comment.