|
|
@ -222,6 +222,9 @@ Class Common { |
|
|
|
$dirs_after_delete = $friends_dirs; |
|
|
|
$dirs_after_delete = $friends_dirs; |
|
|
|
if (in_array($share_dir, $friends_dirs)) { |
|
|
|
if (in_array($share_dir, $friends_dirs)) { |
|
|
|
$dirs_after_delete = array_diff($friends_dirs, array($share_dir)); |
|
|
|
$dirs_after_delete = array_diff($friends_dirs, array($share_dir)); |
|
|
|
|
|
|
|
if (is_object($dirs_after_delete)) { |
|
|
|
|
|
|
|
$dirs_after_delete = self::dictToArray($dirs_after_delete); |
|
|
|
|
|
|
|
} |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|