aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/files/cache/legacy.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/files/cache/legacy.php b/lib/files/cache/legacy.php
index d9ba36bb3a4..ddee75e972b 100644
--- a/lib/files/cache/legacy.php
+++ b/lib/files/cache/legacy.php
@@ -84,6 +84,12 @@ class Legacy {
return $data;
}
+ /**
+ * Get the ETag for the given path
+ *
+ * @param type $path
+ * @return string
+ */
function getEtag($path) {
list(, $user, , $relativePath) = explode('/', $path, 4);
if (is_null($relativePath)) {