From 3fed96af0ee3c7b3159df8cad73dd1830d08208c Mon Sep 17 00:00:00 2001
From: Arthur Schiwon <blizzz@owncloud.com>
Date: Fri, 25 Apr 2014 18:52:00 +0200
Subject: [PATCH] clean up

---
 apps/user_ldap/tests/user_ldap.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/apps/user_ldap/tests/user_ldap.php b/apps/user_ldap/tests/user_ldap.php
index 089684f609..8787e02365 100644
--- a/apps/user_ldap/tests/user_ldap.php
+++ b/apps/user_ldap/tests/user_ldap.php
@@ -39,14 +39,12 @@ class Test_User_Ldap_Direct extends \PHPUnit_Framework_TestCase {
 	private function getAccessMock() {
 		static $conMethods;
 		static $accMethods;
-		static $umMethods;
 		static $uMethods;
 
-		if(is_null($conMethods) || is_null($accMethods) || is_null($umMethods)) {
+		if(is_null($conMethods) || is_null($accMethods)) {
 			$conMethods = get_class_methods('\OCA\user_ldap\lib\Connection');
 			$accMethods = get_class_methods('\OCA\user_ldap\lib\Access');
 			unset($accMethods[array_search('getConnection', $accMethods)]);
-			$umMethods  = get_class_methods('\OCA\user_ldap\lib\user\Manager');
 			$uMethods   = get_class_methods('\OCA\user_ldap\lib\user\User');
 			unset($uMethods[array_search('getUsername', $uMethods)]);
 			unset($uMethods[array_search('getDN', $uMethods)]);
-- 
GitLab