From 25ff32db6bec0992b0fac18b04345aa5e99f4ea1 Mon Sep 17 00:00:00 2001
From: Florin Peter <github@florin-peter.de>
Date: Tue, 23 Apr 2013 22:20:31 +0200
Subject: [PATCH] Added post proxy for getFileInfo. This is needed for WebDAV
 and FileSize @samtuke and @schiesbn you guys know a better solution?

---
 lib/files/view.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/files/view.php b/lib/files/view.php
index f607bb59aa..bd4812f8f8 100644
--- a/lib/files/view.php
+++ b/lib/files/view.php
@@ -724,6 +724,9 @@ class View {
 				$data['permissions'] = $permissions;
 			}
 		}
+
+        $data = \OC_FileProxy::runPostProxies('getFileInfo', $path, $data);
+
 		return $data;
 	}
 
-- 
GitLab