fix

parent e1edca43
...@@ -19,7 +19,6 @@ class BidAdminController extends AdminController ...@@ -19,7 +19,6 @@ class BidAdminController extends AdminController
'Manage' => 'Управление заявками', 'Manage' => 'Управление заявками',
'Create' => 'Добавление заявки', 'Create' => 'Добавление заявки',
'Update' => 'Редактирование заявки', 'Update' => 'Редактирование заявки',
'Delete' => 'Удаление заявки',
'View' => 'Просмотр заявки', 'View' => 'Просмотр заявки',
]; ];
} }
...@@ -103,19 +102,6 @@ class BidAdminController extends AdminController ...@@ -103,19 +102,6 @@ class BidAdminController extends AdminController
} }
} }
/**
* Deletes an existing Bid model.
* If deletion is successful, the browser will be redirected to the 'index' page.
* @param integer $id
* @return mixed
*/
public function actionDelete($id)
{
$this->findModel($id)->delete();
return $this->redirect(['index']);
}
/** /**
* Finds the Bid model based on its primary key value. * Finds the Bid model based on its primary key value.
* If the model is not found, a 404 HTTP exception will be thrown. * If the model is not found, a 404 HTTP exception will be thrown.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment