Administrator
/
new_rukzachok-1
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
55e9b838b9545d30ac08291228a93c0d8411ee0c
Authored by
Karnovsky A
2016-06-07 15:25:23 +0300
1 parent
37c2918b
-
Showing
1 changed file
with
0 additions
and
5 deletions
Show diff stats
common/modules/product/models/Category.php
Inline
Side-by-side
common/modules/product/models/Category.php
Wrap text
Show/Hide comments
View file @
55e9b83
...
...
@@ -202,9 +202,4 @@ class Category extends \yii\db\ActiveRecord
202
202
}
203
203
return false;
204
204
}
205
-
206
- public function afterDelete()
207
- {
208
- ProductCategory::deleteAll(['category_id' => $this->category_id]);
209
- }
210
205
}
...
...