[Pkg-owncloud-commits] [owncloud] 52/66: Change to using OC_User::setUserID() instead of OC::'

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 22:49:47 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 04e2df3c6ab5ceaae427647200ca47658e93712a
Author: tomneedham <tom at owncloud.com>
Date:   Sat Feb 22 17:57:48 2014 +0000

    Change to using OC_User::setUserID() instead of OC::'
---
 tests/lib/ocs/privatedata.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/lib/ocs/privatedata.php b/tests/lib/ocs/privatedata.php
index ea84137..83fb7f1 100644
--- a/tests/lib/ocs/privatedata.php
+++ b/tests/lib/ocs/privatedata.php
@@ -26,7 +26,7 @@ class Test_OC_OCS_Privatedata extends PHPUnit_Framework_TestCase
 	private $appKey;
 
 	public function setUp() {
-		\OC::$session->set('user_id', 'user1');
+		\OC_User::setUserID('user1');
 		$this->appKey = uniqid('app');
 	}
 

-- 
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