changed deletion by the user to be setting the file to be hidden instead
This commit is contained in:
parent
9c4f2e3298
commit
7e03333496
|
@ -449,7 +449,7 @@ SQL;
|
||||||
{
|
{
|
||||||
$files = $this->_dir->getCcFiless();
|
$files = $this->_dir->getCcFiless();
|
||||||
foreach ($files as $file) {
|
foreach ($files as $file) {
|
||||||
$file->setExists(false);
|
$file->setDbHidden(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -363,7 +363,7 @@ SQL;
|
||||||
Application_Model_Playlist::DeleteFileFromAllPlaylists($this->getId());
|
Application_Model_Playlist::DeleteFileFromAllPlaylists($this->getId());
|
||||||
}
|
}
|
||||||
// set file_exists falg to false
|
// set file_exists falg to false
|
||||||
$this->_file->setDbFileExists(false);
|
$this->_file->setDbHidden(true);
|
||||||
$this->_file->save();
|
$this->_file->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue