Dangerous options subform on Preferences page and Delete all tracks button

This commit is contained in:
Duncan Sommerville 2015-05-13 15:55:36 -04:00
parent fc36ff5797
commit 15bebc6267
8 changed files with 151 additions and 23 deletions

View file

@ -401,6 +401,7 @@ SQL;
//or from the cloud
if ($this->_file->getDbImportStatus() == CcFiles::IMPORT_STATUS_SUCCESS) {
try {
Logging::info("DELETING PHYSICAL FILE " . $this->_file->getDbTrackTitle());
$this->_file->deletePhysicalFile();
}
catch (Exception $e)