Skip to content

Commit

Permalink
Remove error on heroku server #35
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Jan 31, 2016
1 parent 74aec1e commit 5993064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/Auto_email.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function cronCheck($timeOffset = 0) {
$this->startANewMeasure($emailsWatchSent);

if(ENVIRONMENT === "development"){
$date = new DateTime("@$time");
$date = new DateTime("@" . $this->time);
echo "<h1> Emails sent at " . $date->format('Y-m-d H:i:s') . "</h1>";

$this->showSentEmails($emailsUserSent, "User emails");
Expand Down

0 comments on commit 5993064

Please sign in to comment.