Add return true to unlink() and rename(), a return is expected by OC_FILESYSTEM

This commit is contained in:
Michael Gapczynski 2011-07-16 14:58:12 -04:00
parent 5aaacf3241
commit f3f8a96c6d
1 changed files with 2 additions and 0 deletions

View File

@ -374,6 +374,7 @@ class OC_FILESTORAGE_SHARED extends OC_FILESTORAGE {
} else {
OC_SHARE::unshareFromMySelf($target);
}
return true;
}
public function rename($path1, $path2) {
@ -388,6 +389,7 @@ class OC_FILESTORAGE_SHARED extends OC_FILESTORAGE {
OC_SHARE::setTarget($oldTarget, $newTarget);
}
}
return true;
}
public function copy($path1, $path2) {