Remove outdated code from ClearTrackCache.php

This commit is contained in:
Kelvin Zhang 2016-01-18 07:32:20 +00:00
parent e35752d11a
commit abedc47d7e

View file

@ -96,9 +96,6 @@ class ClearTrackCache extends Command
$this->info('Deleted ' . $trackFile->getFile()); $this->info('Deleted ' . $trackFile->getFile());
} }
// Remove the cached file size for the album
Cache::forget($trackFile->track->album->getCacheKey('filesize-' . $trackFile->format));
} }
$this->info($count . ' files deleted. Deletion complete. Exiting.'); $this->info($count . ' files deleted. Deletion complete. Exiting.');
} else { } else {