From 236632702cf7fe68cc9ad1dcfcc463e0d4c14d64 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 16 Dec 2014 19:07:14 +0100 Subject: add a isLoggedIn method to the usersession and deprecate the isLoggedIn method on the api --- lib/public/appframework/iappcontainer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/public/appframework') diff --git a/lib/public/appframework/iappcontainer.php b/lib/public/appframework/iappcontainer.php index 3621d69a542..2270b17c5b7 100644 --- a/lib/public/appframework/iappcontainer.php +++ b/lib/public/appframework/iappcontainer.php @@ -31,7 +31,7 @@ use OCP\IContainer; * * This container interface provides short cuts for app developers to access predefined app service. */ -interface IAppContainer extends IContainer{ +interface IAppContainer extends IContainer { /** * used to return the appname of the set application @@ -57,6 +57,7 @@ interface IAppContainer extends IContainer{ function registerMiddleWare($middleWare); /** + * @deprecated use IUserSession->isLoggedIn() * @return boolean */ function isLoggedIn(); -- cgit v1.2.3