[Pkg-owncloud-commits] [owncloud] 29/59: mkae getRelativePath of file search results overwriteable in subclasses
David Prévot
taffit at moszumanska.debian.org
Fri Jul 18 16:19:27 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 292ce3f48482e2ce8fae1e567d179bb9f5f258a8
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date: Mon Jul 14 19:27:10 2014 +0200
mkae getRelativePath of file search results overwriteable in subclasses
---
lib/private/search/result/file.php | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/private/search/result/file.php b/lib/private/search/result/file.php
index 38acac4..331fdaa 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);
-
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list