فهرست منبع

Update CollectionController, fixes #3946

Daniel Supernault 2 سال پیش
والد
کامیت
abd52f4d3a
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      app/Http/Controllers/CollectionController.php

+ 0 - 1
app/Http/Controllers/CollectionController.php

@@ -135,7 +135,6 @@ class CollectionController extends Controller
 
         $collection = Collection::whereProfileId($profileId)->findOrFail($collectionId);
         $count = $collection->items()->count();
-        CollectionService::deleteCollection($collection->id);
 
         if($count) {
             CollectionItem::whereCollectionId($collection->id)