From 42b7dd827b7f44dfd807f30efcd17cb500e49cb8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Thu, 31 Oct 2013 10:21:17 +0100 Subject: [PATCH] PHPDoc comment updated - checkLoggedIn() removed --- lib/ocs/privatedata.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/ocs/privatedata.php b/lib/ocs/privatedata.php index 0ef38f87b58..f2c6ec7fecd 100644 --- a/lib/ocs/privatedata.php +++ b/lib/ocs/privatedata.php @@ -58,10 +58,11 @@ class OC_OCS_Privatedata { } /** - * set a key - * test: curl http://login:passwd@oc/core/ocs/v1.php/privatedata/setattribute/testy/123 --data "value=foobar" - * @param array $parameters The OCS parameter - */ + * set a key + * test: curl http://login:passwd@oc/core/ocs/v1.php/privatedata/setattribute/testy/123 --data "value=foobar" + * @param array $parameters The OCS parameter + * @return \OC_OCS_Result + */ public static function set($parameters) { $user = OC_User::getUser(); $app = addslashes(strip_tags($parameters['app'])); @@ -86,12 +87,12 @@ class OC_OCS_Privatedata { } /** - * delete a key - * test: curl http://login:passwd@oc/core/ocs/v1.php/privatedata/deleteattribute/testy/123 --data "post=1" - * @param array $parameters The OCS parameter - */ + * delete a key + * test: curl http://login:passwd@oc/core/ocs/v1.php/privatedata/deleteattribute/testy/123 --data "post=1" + * @param array $parameters The OCS parameter + * @return \OC_OCS_Result + */ public static function delete($parameters) { - OC_Util::checkLoggedIn(); $user = OC_User::getUser(); $app = addslashes(strip_tags($parameters['app'])); $key = addslashes(strip_tags($parameters['key'])); -- 2.39.5