- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
public function beforeDelete($event=null)
{
foreach($this->outers as $outer)
$outer->delete();
Subscribe::model()->deleteAllByAttributes(array('user_id'=>$this->user_id));
return self::beforeDelete($event);
}
Lure Of Chaos 16.03.2012 10:21 # +2
roman-kashitsyn 16.03.2012 10:53 # +6
TarasB 16.03.2012 10:56 # 0
eth0 16.03.2012 17:39 # 0
bot 16.03.2012 22:09 # 0
skryisli 23.03.2012 10:48 # 0
dekameron 30.03.2012 16:31 # 0
Curly 30.03.2012 16:32 # 0
guest8 09.04.2019 12:49 # −999