CC-2882: Airtime cannot delete watched folder when is been renamed
- done
This commit is contained in:
parent
46146d1216
commit
3775e5f4a7
3 changed files with 25 additions and 33 deletions
|
@ -286,10 +286,6 @@ class MusicDir {
|
|||
$real_path = realpath($p_dir)."/";
|
||||
if($real_path != "/"){
|
||||
$p_dir = $real_path;
|
||||
}else{
|
||||
// this is the case where user removes watched directory on
|
||||
// the file system directly.
|
||||
$p_dir .= "/";
|
||||
}
|
||||
$dir = MusicDir::getDirByPath($p_dir);
|
||||
if($dir == NULL){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue