Permalink
Browse files

Oops

  • Loading branch information...
1 parent 007900c commit 01e1d0233db00b2e287d53a259880d3d2ebef31d Ph3nol committed Nov 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Sly/NotificationPusher/Pusher/BasePusher.php
@@ -123,7 +123,7 @@ public function push()
if (true === $this->config['simulate']) {
$message->setStatus(MessageInterface::STATUS_SIMULATED_SENT);
}
- if (true === $this->pushMessage($message)) {
+ elseif (true === $this->pushMessage($message)) {
$message->setStatus(MessageInterface::STATUS_SENT);
} else {
$message->setStatus(MessageInterface::STATUS_FAILED);

0 comments on commit 01e1d02

Please sign in to comment.