diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2013-09-24 00:09:21 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2013-09-24 00:09:21 +0200 |
commit | 698394c994a79aa4faa53c2d69e9937d798d8948 (patch) | |
tree | a78c672623bf596062a50f764d081b1f60ed384f /lib | |
parent | f2de5a34eff78add366b7a89c93a8128a097996f (diff) | |
parent | 9e4d13858c92e3b42e99152cee7b899a7ddb926b (diff) | |
download | nextcloud-server-698394c994a79aa4faa53c2d69e9937d798d8948.tar.gz nextcloud-server-698394c994a79aa4faa53c2d69e9937d798d8948.zip |
Merge branch 'server_folder_methods' of github.com:owncloud/core into server_folder_methods
Conflicts:
lib/public/iservercontainer.php
lib/server.php
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/iservercontainer.php | 13 | ||||
-rw-r--r-- | lib/server.php | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php index dcf8c162e6f..d3ee5d15dcc 100644 --- a/lib/public/iservercontainer.php +++ b/lib/public/iservercontainer.php @@ -63,6 +63,19 @@ interface IServerContainer { function getRootFolder(); /** + * 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 user session * * @return \OCP\IUserSession diff --git a/lib/server.php b/lib/server.php index dcfd0a2db99..fccb8fad4d0 100644 --- a/lib/server.php +++ b/lib/server.php @@ -211,6 +211,7 @@ class Server extends SimpleContainer implements IServerContainer { function getConfig() { return $this->query('AllConfig'); } + /** * Returns an ICache instance * |