Fix ctor call

This commit is contained in:
Thomas Müller 2016-01-12 14:08:10 +01:00
parent e7a8be2588
commit 23a8c93fd2
3 changed files with 0 additions and 4 deletions

View File

@ -25,12 +25,10 @@ use OCA\DAV\Connector\Sabre\Principal;
\OC::$server->registerService('CardDAVSyncService', function() {
$config = \OC::$server->getConfig();
$userManager = \OC::$server->getUserManager();
$dbConnection = \OC::$server->getDatabaseConnection();
$principalBackend = new Principal(
$config,
$userManager
);

View File

@ -63,7 +63,6 @@ class CreateAddressBook extends Command {
throw new \InvalidArgumentException("User <$user> in unknown.");
}
$principalBackend = new Principal(
$this->config,
$this->userManager
);

View File

@ -57,7 +57,6 @@ class SyncSystemAddressBook extends Command {
*/
protected function execute(InputInterface $input, OutputInterface $output) {
$principalBackend = new Principal(
$this->config,
$this->userManager
);