public function ignorelog($parameters = array())
 {
     $model = new mblogModel();
     $log = $model->getfromId($parameters['logid']);
     if (count($log) == 1) {
         $log = $log[0];
         $log->setStatusdelivery('MESSAGE_IGNORED');
         try {
             $model->save($log);
         } catch (Exception $e) {
         }
     }
     $this->response->redirect('?pageid=' . myauth::getCurrentpageid());
 }
Пример #2
0
 protected function getClause($conditions)
 {
     $conditions = $this->filterconditions($conditions);
     return parent::getClause($conditions);
 }