mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update CollectionController, fixes #3946
This commit is contained in:
parent
dda9e77024
commit
abd52f4d3a
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue