public function actionIgnoreListDelete($ignoreListId)
 {
     IgnoreList::model()->deleteByPk($ignoreListId);
     $this->redirect(Yii::app()->createUrl('site/ignoreList'));
 }
Beispiel #2
0
 public static function isInList($domain)
 {
     return IgnoreList::model()->find('domain = :domain', array(':domain' => $domain)) ? true : false;
 }