Browse Source

Remove deprecated `Collection.Empty()` parameter

feature_improvement
Anton Tarasenko 2 years ago
parent
commit
de3a1a480e
  1. 9
      sources/Commands/ACommandDB.uc

9
sources/Commands/ACommandDB.uc

@ -354,9 +354,8 @@ protected function DisplayData(
AcediaObject data, AcediaObject data,
Database source) Database source)
{ {
local Text printedJSON; local Text printedJSON;
local EPlayer instigator; local EPlayer instigator;
local Collection dataAsCollection;
instigator = PopPlayer(source); instigator = PopPlayer(source);
OutputStatus(instigator, result); OutputStatus(instigator, result);
@ -368,10 +367,6 @@ protected function DisplayData(
_.memory.Free(instigator); _.memory.Free(instigator);
instigator = none; instigator = none;
} }
dataAsCollection = Collection(data);
if (dataAsCollection != none) {
dataAsCollection.Empty(true);
}
_.memory.Free(data); _.memory.Free(data);
} }

Loading…
Cancel
Save