Remove unused legacy method

pull/1/head
Victor Dubiniuk 10 years ago
parent 65f41020c5
commit f74d273145

@ -220,16 +220,6 @@ class File {
return $result;
}
protected function getLocalFileOwnerAndPath(){
$fileInfo = \OC\Files\Cache\Cache::getById($this->fileId);
$owner = \OCP\User::getUser();
if (!$owner){
throw new Exception('Guest users can\'t access local files. This one was probably unshared recently.');
}
return array ($owner, @$fileInfo[1]);
}
protected function getPassword(){
return $this->sharing[0]['share_with'];

Loading…
Cancel
Save