- cleaning up a dirty code
This commit is contained in:
parent
f373ddb617
commit
a551e08fce
|
@ -282,7 +282,6 @@ class MusicDir {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function removeWatchedDir($p_dir){
|
public static function removeWatchedDir($p_dir){
|
||||||
$p_dir = realpath($p_dir)."/";
|
|
||||||
$real_path = realpath($p_dir)."/";
|
$real_path = realpath($p_dir)."/";
|
||||||
if($real_path != "/"){
|
if($real_path != "/"){
|
||||||
$p_dir = $real_path;
|
$p_dir = $real_path;
|
||||||
|
|
Loading…
Reference in New Issue