[Pkg-owncloud-commits] [owncloud] 25/66: no need to check if the user is logged in - this is already done in the ocs dispatcher itself adding @return

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 22:49:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v5.0.15
in repository owncloud.

commit 90f9437b6983f77527386af0fed5379c8af29c37
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Thu Oct 31 09:58:18 2013 +0100

    no need to check if the user is logged in - this is already done in the ocs dispatcher itself
    adding @return
---
 lib/ocs/privatedata.php | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/ocs/privatedata.php b/lib/ocs/privatedata.php
index b489cd0..e528dfb 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']));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list