Commit 55e9b838b9545d30ac08291228a93c0d8411ee0c

Authored by Karnovsky A
1 parent 37c2918b

-

Showing 1 changed file with 0 additions and 5 deletions   Show diff stats
common/modules/product/models/Category.php
@@ -202,9 +202,4 @@ class Category extends \yii\db\ActiveRecord @@ -202,9 +202,4 @@ class Category extends \yii\db\ActiveRecord
202 } 202 }
203 return false; 203 return false;
204 } 204 }
205 -  
206 - public function afterDelete()  
207 - {  
208 - ProductCategory::deleteAll(['category_id' => $this->category_id]);  
209 - }  
210 } 205 }