diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-31 12:58:18 +0400 |
---|---|---|
committer | tomneedham <tom@owncloud.com> | 2014-02-18 21:19:27 +0400 |
commit | 90f9437b6983f77527386af0fed5379c8af29c37 (patch) | |
tree | 7aa501d5984fca30bf31602a2b1a143fbba7bd2c /lib | |
parent | cada6b50b419dfb00cbcd3dfa354554144b5af37 (diff) |
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')
-rw-r--r-- | lib/ocs/privatedata.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ocs/privatedata.php b/lib/ocs/privatedata.php index b489cd0fbb3..e528dfbcb74 100644 --- a/lib/ocs/privatedata.php +++ b/lib/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'])); |