- Доработка метода check согласно изменениям в интерфейсе

parent d75aab1a
...@@ -23,7 +23,7 @@ class CheckEmailToDelivered extends ConditionBase implements ConditionInterface{ ...@@ -23,7 +23,7 @@ class CheckEmailToDelivered extends ConditionBase implements ConditionInterface{
* @param $message * @param $message
* @return bool * @return bool
*/ */
public function check($message){ public function check($message=null, $params = array()){
if (!is_null($message)) { if (!is_null($message)) {
// Создаем объект унисендера // Создаем объект унисендера
$sender=new UnisenderAPI(); $sender=new UnisenderAPI();
......
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