Commit 25cf7296 authored by Shakarim Sapa's avatar Shakarim Sapa

- Выгружаем запрос

parent 88d09d19
...@@ -12,7 +12,7 @@ class ReplaceController extends Controller ...@@ -12,7 +12,7 @@ class ReplaceController extends Controller
public function actionBlog() public function actionBlog()
{ {
$data = PostLang::find()->all(); $data = PostLang::find()->all();
$transaction = Yii::$app()->db->beginTransaction(); $transaction = Yii::$app->db->beginTransaction();
try try
{ {
foreach($data as $i=>$item) foreach($data as $i=>$item)
......
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