From de3a1a480e7c1b40b4a358428b04521ef4288de2 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Fri, 15 Jul 2022 20:37:21 +0700 Subject: [PATCH] Remove deprecated `Collection.Empty()` parameter --- sources/Commands/ACommandDB.uc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sources/Commands/ACommandDB.uc b/sources/Commands/ACommandDB.uc index 19629ad..1f7e12b 100644 --- a/sources/Commands/ACommandDB.uc +++ b/sources/Commands/ACommandDB.uc @@ -354,9 +354,8 @@ protected function DisplayData( AcediaObject data, Database source) { - local Text printedJSON; - local EPlayer instigator; - local Collection dataAsCollection; + local Text printedJSON; + local EPlayer instigator; instigator = PopPlayer(source); OutputStatus(instigator, result); @@ -368,10 +367,6 @@ protected function DisplayData( _.memory.Free(instigator); instigator = none; } - dataAsCollection = Collection(data); - if (dataAsCollection != none) { - dataAsCollection.Empty(true); - } _.memory.Free(data); }