aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-09 16:52:10 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-09-12 16:48:11 +0200
commit01cf85e4e5e610bf667e4a55ff9647542aa926d1 (patch)
tree2e4f7902aac2b115833d104ab42369c9e5895343
parenta2668b11e58d1e6098d5c6c419594af8dee134ee (diff)
downloadnextcloud-server-01cf85e4e5e610bf667e4a55ff9647542aa926d1.tar.gz
nextcloud-server-01cf85e4e5e610bf667e4a55ff9647542aa926d1.zip
Fix the User_LDAP app
-rw-r--r--apps/user_ldap/lib/Command/CreateEmptyConfig.php4
-rw-r--r--apps/user_ldap/lib/Command/DeleteConfig.php3
-rw-r--r--apps/user_ldap/lib/Jobs/CleanUp.php14
-rw-r--r--apps/user_ldap/lib/LDAPProvider.php3
-rw-r--r--apps/user_ldap/tests/AccessTest.php1
-rw-r--r--apps/user_ldap/tests/Group_LDAPTest.php2
-rw-r--r--apps/user_ldap/tests/User_LDAPTest.php2
7 files changed, 12 insertions, 17 deletions
diff --git a/apps/user_ldap/lib/Command/CreateEmptyConfig.php b/apps/user_ldap/lib/Command/CreateEmptyConfig.php
index 53cc4cbf466..28d3a1d8bff 100644
--- a/apps/user_ldap/lib/Command/CreateEmptyConfig.php
+++ b/apps/user_ldap/lib/Command/CreateEmptyConfig.php
@@ -25,11 +25,11 @@
namespace OCA\User_LDAP\Command;
+use OCA\User_LDAP\Configuration;
+use OCA\User_LDAP\Helper;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
-use \OCA\User_LDAP\Helper;
-use \OCA\User_LDAP\Configuration;
class CreateEmptyConfig extends Command {
/** @var \OCA\User_LDAP\Helper */
diff --git a/apps/user_ldap/lib/Command/DeleteConfig.php b/apps/user_ldap/lib/Command/DeleteConfig.php
index a986dd6be77..e39425f3faa 100644
--- a/apps/user_ldap/lib/Command/DeleteConfig.php
+++ b/apps/user_ldap/lib/Command/DeleteConfig.php
@@ -25,11 +25,12 @@
namespace OCA\User_LDAP\Command;
+
+use OCA\User_LDAP\Helper;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
-use \OCA\User_LDAP\Helper;
class DeleteConfig extends Command {
/** @var \OCA\User_LDAP\Helper */
diff --git a/apps/user_ldap/lib/Jobs/CleanUp.php b/apps/user_ldap/lib/Jobs/CleanUp.php
index 21c3ece8662..b91fed14dd6 100644
--- a/apps/user_ldap/lib/Jobs/CleanUp.php
+++ b/apps/user_ldap/lib/Jobs/CleanUp.php
@@ -24,13 +24,13 @@
namespace OCA\User_LDAP\Jobs;
-use \OC\BackgroundJob\TimedJob;
-use \OCA\User_LDAP\User_LDAP;
-use \OCA\User_LDAP\User_Proxy;
-use \OCA\User_LDAP\Helper;
-use \OCA\User_LDAP\LDAP;
-use \OCA\User_LDAP\User\DeletedUsersIndex;
-use \OCA\User_LDAP\Mapping\UserMapping;
+use OC\BackgroundJob\TimedJob;
+use OCA\User_LDAP\Helper;
+use OCA\User_LDAP\LDAP;
+use OCA\User_LDAP\Mapping\UserMapping;
+use OCA\User_LDAP\User_LDAP;
+use OCA\User_LDAP\User_Proxy;
+use OCA\User_LDAP\User\DeletedUsersIndex;
/**
* Class CleanUp
diff --git a/apps/user_ldap/lib/LDAPProvider.php b/apps/user_ldap/lib/LDAPProvider.php
index 5bd6a0fd08c..bf8691006c6 100644
--- a/apps/user_ldap/lib/LDAPProvider.php
+++ b/apps/user_ldap/lib/LDAPProvider.php
@@ -22,12 +22,11 @@
namespace OCA\User_LDAP;
-use OCP\IUserBackend;
+
use OCP\LDAP\ILDAPProvider;
use OCP\LDAP\IDeletionFlagSupport;
use OCP\IServerContainer;
use OCA\User_LDAP\User\DeletedUsersIndex;
-use OCA\User_LDAP\Mapping\UserMapping;
/**
* LDAP provider for pulic access to the LDAP backend.
diff --git a/apps/user_ldap/tests/AccessTest.php b/apps/user_ldap/tests/AccessTest.php
index 08e7c9f79f5..f89af2423a9 100644
--- a/apps/user_ldap/tests/AccessTest.php
+++ b/apps/user_ldap/tests/AccessTest.php
@@ -27,7 +27,6 @@
namespace OCA\User_LDAP\Tests;
use OCA\User_LDAP\Access;
-use OCA\User_LDAP\Connection;
use OCA\User_LDAP\FilesystemHelper;
use OCA\User_LDAP\ILDAPWrapper;
use OCA\User_LDAP\LogWrapper;
diff --git a/apps/user_ldap/tests/Group_LDAPTest.php b/apps/user_ldap/tests/Group_LDAPTest.php
index 12f7eaa2256..17ed5909bfb 100644
--- a/apps/user_ldap/tests/Group_LDAPTest.php
+++ b/apps/user_ldap/tests/Group_LDAPTest.php
@@ -29,8 +29,6 @@
namespace OCA\User_LDAP\Tests;
use OCA\User_LDAP\Group_LDAP as GroupLDAP;
-use OCA\User_LDAP\Access;
-use OCA\User_LDAP\Connection;
use OCA\User_LDAP\ILDAPWrapper;
/**
diff --git a/apps/user_ldap/tests/User_LDAPTest.php b/apps/user_ldap/tests/User_LDAPTest.php
index 0e08998d13b..f5ffb7f9907 100644
--- a/apps/user_ldap/tests/User_LDAPTest.php
+++ b/apps/user_ldap/tests/User_LDAPTest.php
@@ -32,8 +32,6 @@ use OCA\User_LDAP\FilesystemHelper;
use OCA\User_LDAP\ILDAPWrapper;
use OCA\User_LDAP\LogWrapper;
use OCA\User_LDAP\User_LDAP as UserLDAP;
-use \OCA\User_LDAP\Access;
-use \OCA\User_LDAP\Connection;
use OCP\IAvatarManager;
use OCP\IConfig;
use OCP\IDBConnection;