public function actionDelete($caller, $id)
    {
        $this->findModel($id)->delete();
        return $this->redirect(['index', 'caller' => $caller]);
    }
public function actionDelete($caller, $id)
    {
        $this->findModel($id)->delete();
        return $this->redirect(['index', 'caller' => $caller]);
    }
public function actionDelete ( $ caller , $ id ) { $ this -> findModel ( $ id ) -> delete ( ) ; return $ this -> redirect ( [ 'index' , 'caller' => $ caller ] ) ; }
Deletes an existing ArtifactType model.
If deletion is successful, the browser will be redirected to the 'index' page.
@param integer $id
@return mixed
Deletes an existing ArtifactType model . If deletion is successful the browser will be redirected to the index page .