From 288ecf318cbb742b2c6a40d6c6afedfafb3cafd4 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Thu, 15 Nov 2012 22:08:08 +0100
Subject: [PATCH] add getFileInfo and getDirectoryContent to OC_Files for
 compatibility

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

diff --git a/lib/files.php b/lib/files.php
index e6b324f062..3abc8c4aaf 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -28,6 +28,14 @@
 class OC_Files {
 	static $tmpFiles = array();
 
+	public function getFileInfo($path){
+		return \OC\Files\Filesystem::getFileInfo($path);
+	}
+
+	public function getDirectoryContent($path){
+		return \OC\Files\Filesystem::getDirectoryContent($path);
+	}
+
 	/**
 	 * return the content of a file or return a zip file containning multiply files
 	 *
-- 
GitLab