]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add getUserFolder/getAppFolder to Server.
authorThomas Tanghus <thomas@tanghus.net>
Wed, 18 Sep 2013 10:34:10 +0000 (12:34 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Mon, 23 Sep 2013 21:57:39 +0000 (23:57 +0200)
lib/public/iservercontainer.php

index 4478a4e8a6cd47a61de766f8ea71105745d744c9..dcf8c162e6fcb9542678b38a600df4b5caea68da 100644 (file)
@@ -86,6 +86,20 @@ interface IServerContainer {
         */
        function getCache();
 
+       /**
+        * Returns a view to ownCloud's files folder
+        *
+        * @return \OCP\Files\Folder
+        */
+       function getUserFolder();
+
+       /**
+        * Returns an app-specific view in ownClouds data directory
+        *
+        * @return \OCP\Files\Folder
+        */
+       function getAppFolder();
+
        /**
         * Returns the current session
         *