From 5c19b995db6dab9aae579274db82413117cce67b Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 17 Sep 2013 18:31:14 +0200 Subject: Add interface for Session and add getter in server container. --- lib/public/iservercontainer.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/public/iservercontainer.php') 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(); + } -- cgit v1.2.3