Commit fdb8a81c authored by Charles Drew's avatar Charles Drew

Renamed "Pushed" event to "Generated"

parent 928b67fd
......@@ -22,7 +22,7 @@ class FreeLunchLabs_MailGun_Model_Email extends Mage_Core_Model_Abstract {
$this->setDateSent(Mage::getSingleton('core/date')->gmtTimestamp());
$this->save();
Mage::getModel('freelunchlabs_mailgun/event')->logEmailEvent($this->getId(), FreeLunchLabs_MailGun_Model_Event::PUSHED, $this);
Mage::getModel('freelunchlabs_mailgun/event')->logEmailEvent($this->getId(), FreeLunchLabs_MailGun_Model_Event::GENERATED, $this);
}
public function loadByMailgunIdAndRecipient($mailgunId, $recipient) {
......
......@@ -3,7 +3,7 @@
class FreeLunchLabs_MailGun_Model_Event extends Mage_Core_Model_Abstract {
//Event types
const PUSHED = "pushed";
const GENERATED = "generated";
const ACCEPTED = "accepted";
const REJECTED = "rejected";
const DELIVERED = "delivered";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment