From: Thomas Müller Date: Thu, 31 Oct 2013 08:58:18 +0000 (+0100) Subject: no need to check if the user is logged in - this is already done in the ocs dispatche... X-Git-Tag: v6.0.0beta3~28^2~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b2929de0a73a131735e051bf620f23b9bd055d2e;p=nextcloud-server.git no need to check if the user is logged in - this is already done in the ocs dispatcher itself adding @return --- diff --git a/lib/private/ocs/privatedata.php b/lib/private/ocs/privatedata.php index b489cd0fbb3..e528dfbcb74 100644 --- a/lib/private/ocs/privatedata.php +++ b/lib/private/ocs/privatedata.php @@ -26,13 +26,13 @@ class OC_OCS_Privatedata { /** - * read keys - * test: curl http://login:passwd@oc/core/ocs/v1.php/privatedata/getattribute/testy/123 - * test: curl http://login:passwd@oc/core/ocs/v1.php/privatedata/getattribute/testy - * @param array $parameters The OCS parameter - */ + * read keys + * test: curl http://login:passwd@oc/core/ocs/v1.php/privatedata/getattribute/testy/123 + * test: curl http://login:passwd@oc/core/ocs/v1.php/privatedata/getattribute/testy + * @param array $parameters The OCS parameter + * @return \OC_OCS_Result + */ public static function get($parameters) { - OC_Util::checkLoggedIn(); $user = OC_User::getUser(); $app = addslashes(strip_tags($parameters['app'])); $key = addslashes(strip_tags($parameters['key']));