Skip to content

Commit

Permalink
Merge pull request #29525 from nextcloud/bugfix/noid/allow-to-inject-…
Browse files Browse the repository at this point in the history
…by-public-interface

Allow to inject the trusted domain helper by public interface
  • Loading branch information
ChristophWurst authored Nov 3, 2021
2 parents 5705af2 + de26160 commit b453fea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@
use OCP\Security\ICrypto;
use OCP\Security\IHasher;
use OCP\Security\ISecureRandom;
use OCP\Security\ITrustedDomainHelper;
use OCP\Security\VerificationToken\IVerificationToken;
use OCP\Share\IShareHelper;
use OCP\SystemTag\ISystemTagManager;
Expand Down Expand Up @@ -968,6 +969,7 @@ public function __construct($webRoot, \OC\Config $config) {
$this->registerDeprecatedAlias('AsyncCommandBus', IBus::class);
/** @deprecated 20.0.0 */
$this->registerDeprecatedAlias('TrustedDomainHelper', TrustedDomainHelper::class);
$this->registerAlias(ITrustedDomainHelper::class, TrustedDomainHelper::class);
/** @deprecated 19.0.0 */
$this->registerDeprecatedAlias('Throttler', Throttler::class);
$this->registerService('IntegrityCodeChecker', function (ContainerInterface $c) {
Expand Down

0 comments on commit b453fea

Please sign in to comment.