doc fixes and removal of unnecessary use statements
This commit is contained in:
parent
6c335ee6fc
commit
9668405ec7
|
@ -15,7 +15,6 @@ use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
|
||||||
use OCA\user_ldap\lib\user\User;
|
use OCA\user_ldap\lib\user\User;
|
||||||
use OCA\User_LDAP\lib\user\Manager;
|
|
||||||
use OCA\User_LDAP\lib\User\DeletedUsersIndex;
|
use OCA\User_LDAP\lib\User\DeletedUsersIndex;
|
||||||
use OCA\User_LDAP\Mapping\UserMapping;
|
use OCA\User_LDAP\Mapping\UserMapping;
|
||||||
use OCA\user_ldap\lib\Helper as LDAPHelper;
|
use OCA\user_ldap\lib\Helper as LDAPHelper;
|
||||||
|
|
|
@ -9,25 +9,22 @@
|
||||||
namespace OCA\user_ldap\Command;
|
namespace OCA\user_ldap\Command;
|
||||||
|
|
||||||
use Symfony\Component\Console\Command\Command;
|
use Symfony\Component\Console\Command\Command;
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
|
||||||
use OCA\user_ldap\lib\user\DeletedUsersIndex;
|
use OCA\user_ldap\lib\user\DeletedUsersIndex;
|
||||||
use OCA\User_LDAP\lib\Connection;
|
|
||||||
use OCA\User_LDAP\Mapping\UserMapping;
|
|
||||||
use OCP\IDateTimeFormatter;
|
use OCP\IDateTimeFormatter;
|
||||||
|
|
||||||
class ShowRemnants extends Command {
|
class ShowRemnants extends Command {
|
||||||
/** @var OCA\User_LDAP\lib\User\DeletedUsersIndex */
|
/** @var \OCA\User_LDAP\lib\User\DeletedUsersIndex */
|
||||||
protected $dui;
|
protected $dui;
|
||||||
|
|
||||||
/** @var OCP\IDateTimeFormatter */
|
/** @var \OCP\IDateTimeFormatter */
|
||||||
protected $dateFormatter;
|
protected $dateFormatter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param OCA\user_ldap\lib\user\DeletedUsersIndex $dui
|
* @param OCA\user_ldap\lib\user\DeletedUsersIndex $dui
|
||||||
|
* @param OCP\IDateTimeFormatter $dateFormatter
|
||||||
*/
|
*/
|
||||||
public function __construct(DeletedUsersIndex $dui, IDateTimeFormatter $dateFormatter) {
|
public function __construct(DeletedUsersIndex $dui, IDateTimeFormatter $dateFormatter) {
|
||||||
$this->dui = $dui;
|
$this->dui = $dui;
|
||||||
|
|
|
@ -191,7 +191,7 @@ class CleanUp extends \OC\BackgroundJob\TimedJob {
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
private function getOffset() {
|
private function getOffset() {
|
||||||
return $this->ocConfig->getAppValue('user_ldap', 'cleanUpJobOffset', 0);
|
return intval($this->ocConfig->getAppValue('user_ldap', 'cleanUpJobOffset', 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -67,7 +67,7 @@ class OfflineUser {
|
||||||
*/
|
*/
|
||||||
protected $db;
|
protected $db;
|
||||||
/**
|
/**
|
||||||
* @var OCA\User_LDAP\Mapping\UserMapping
|
* @var \OCA\User_LDAP\Mapping\UserMapping
|
||||||
*/
|
*/
|
||||||
protected $mapping;
|
protected $mapping;
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ class USER_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn
|
||||||
* Check if the password is correct
|
* Check if the password is correct
|
||||||
* @param string $uid The username
|
* @param string $uid The username
|
||||||
* @param string $password The password
|
* @param string $password The password
|
||||||
* @return boolean
|
* @return false|string
|
||||||
*
|
*
|
||||||
* Check if the password is correct without logging in the user
|
* Check if the password is correct without logging in the user
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue