diff --git a/lib/private/ocs/privatedata.php b/lib/private/ocs/privatedata.php
index 4b16268b8f40ba14cc356f064c2c3d3477f08bef..0ef38f87b58fbfed497f89e9fb2afd64a6cfc3df 100644
--- a/lib/private/ocs/privatedata.php
+++ b/lib/private/ocs/privatedata.php
@@ -63,7 +63,6 @@ class OC_OCS_Privatedata {
 	* @param array $parameters The OCS parameter
 	*/
 	public static function set($parameters) {
-		OC_Util::checkLoggedIn();
 		$user = OC_User::getUser();
 		$app = addslashes(strip_tags($parameters['app']));
 		$key = addslashes(strip_tags($parameters['key']));