summaryrefslogtreecommitdiffstats
path: root/lib/private/Search/Result/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Search/Result/File.php')
-rw-r--r--lib/private/Search/Result/File.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/Search/Result/File.php b/lib/private/Search/Result/File.php
index cd605c49821..b0f6b3df622 100644
--- a/lib/private/Search/Result/File.php
+++ b/lib/private/Search/Result/File.php
@@ -75,7 +75,6 @@ class File extends \OCP\Search\Result {
* @param FileInfo $data file data given by provider
*/
public function __construct(FileInfo $data) {
-
$path = $this->getRelativePath($data->getPath());
$info = pathinfo($path);
@@ -113,5 +112,4 @@ class File extends \OCP\Search\Result {
}
return self::$userFolderCache->getRelativePath($path);
}
-
}