summaryrefslogtreecommitdiffstats
path: root/lib/public/iservercontainer.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-09-17 18:31:14 +0200
committerThomas Tanghus <thomas@tanghus.net>2013-09-17 18:31:14 +0200
commit5c19b995db6dab9aae579274db82413117cce67b (patch)
tree23aa99c653428b5a050312942961af3ac551d00f /lib/public/iservercontainer.php
parent9b420e8660404de27e3af629bfca188ae90cf7bd (diff)
downloadnextcloud-server-5c19b995db6dab9aae579274db82413117cce67b.tar.gz
nextcloud-server-5c19b995db6dab9aae579274db82413117cce67b.zip
Add interface for Session and add getter in server container.
Diffstat (limited to 'lib/public/iservercontainer.php')
-rw-r--r--lib/public/iservercontainer.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index d88330698dc..ec7212b306e 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -62,4 +62,11 @@ interface IServerContainer {
*/
function getRootFolder();
+ /**
+ * Returns the current session
+ *
+ * @return \OCP\ISession
+ */
+ function getSession();
+
}