Revert accidental commit of collections test code

Originally added in 4143e482f5
This commit is contained in:
Robin Whittleton 2021-05-04 08:45:12 +02:00
parent 83f762f402
commit 3b744c1a82

View file

@ -271,9 +271,6 @@ class Library{
} }
// Now store various collections // Now store various collections
apcu_delete('collections');
apcu_store('collections', $collections);
apcu_delete(new APCUIterator('/^collection-/')); apcu_delete(new APCUIterator('/^collection-/'));
foreach($collections as $collection => $sortItems){ foreach($collections as $collection => $sortItems){
// Sort the array by the ebook's ordinal in the collection. We use this custom sort function // Sort the array by the ebook's ordinal in the collection. We use this custom sort function