diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-31 09:58:18 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-31 09:58:18 +0100 |
commit | b2929de0a73a131735e051bf620f23b9bd055d2e (patch) | |
tree | 56814ffa27522203a7e641e016e72a6863558f36 /lib/private/ocs | |
parent | 64bfd21ccd25231b86ba4c3b95993dc205c8ea3b (diff) | |
download | nextcloud-server-b2929de0a73a131735e051bf620f23b9bd055d2e.tar.gz nextcloud-server-b2929de0a73a131735e051bf620f23b9bd055d2e.zip |
no need to check if the user is logged in - this is already done in the ocs dispatcher itself
adding @return
Diffstat (limited to 'lib/private/ocs')
-rw-r--r-- | lib/private/ocs/privatedata.php | 12 |
1 files changed, 6 insertions, 6 deletions
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'])); |