forked from mirror/pixelfed
Update CollectionController, fixes #3946
This commit is contained in:
parent
dda9e77024
commit
abd52f4d3a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue