Exemplo n.º 1
0
 public function resolve()
 {
     $pubuConfig = $this->loadModel('pubu')->getConfig();
     //todo if create send notification to pubuim
     if (!empty($_POST) && $pubuConfig->webhook) {
         $this->loadModel('pubu')->sendNotification($pubuConfig->webhook, array("type" => "BUG.RESOLVE", "operator" => $this->app->user->account, "data" => $_POST));
     }
     parent::resolve();
 }