public function actionDellPost() { $coment = new Coment(); $coment->DellAllComentsByPost($this->params['id']); $post = new Post(); $post->DellPost($this->params['id']); $this->util->redirect($_SERVER['SCRIPT_NAME']); }
public function actionDellPost() { $coment = new Coment(); $coment->DellAllComentsByPost($this->params['id']); $post = new Post(); $post->DellPost($this->params['id']); $this->util->redirect($_SERVER['SCRIPT_NAME']); }