diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-07-14 19:27:10 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-07-14 19:27:10 +0200 |
commit | 8f11019f4562ba2eb483421f3a62c7f7f7db0ed9 (patch) | |
tree | 390a9233493473dfd79e8ce2a2024bd29c7dec5c | |
parent | eea5c2ee0a847a80746aef3ecda1687edc962b27 (diff) | |
download | nextcloud-server-8f11019f4562ba2eb483421f3a62c7f7f7db0ed9.tar.gz nextcloud-server-8f11019f4562ba2eb483421f3a62c7f7f7db0ed9.zip |
mkae getRelativePath of file search results overwriteable in subclasses
-rw-r--r-- | lib/private/search/result/file.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/search/result/file.php b/lib/private/search/result/file.php index 38acac48ed7..331fdaa383a 100644 --- a/lib/private/search/result/file.php +++ b/lib/private/search/result/file.php @@ -92,10 +92,9 @@ class File extends \OCP\Search\Result { * @param string $path * @return string relative path */ - function getRelativePath ($path) { + protected function getRelativePath ($path) { $root = \OC::$server->getUserFolder(); return $root->getRelativePath($path); - } } |