Add option to delete sources with support in all three backends
This commit is contained in:
@@ -104,6 +104,14 @@ class RippingCluster_Source {
|
||||
|
||||
return $longest_index;
|
||||
}
|
||||
|
||||
/**
|
||||
* Permanently deletes this source from disk
|
||||
*
|
||||
*/
|
||||
public function delete() {
|
||||
RippingCluster_Source_PluginFactory::delete($this->plugin, $this->filename);
|
||||
}
|
||||
|
||||
public function filename() {
|
||||
return $this->filename;
|
||||
|
||||
Reference in New Issue
Block a user