Skip to content

Commit 2f262fa

Browse files
Update lib/private/Server.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
1 parent b8674c5 commit 2f262fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Server.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ public function __construct($webRoot, \OC\Config $config) {
969969
$this->registerDeprecatedAlias('AsyncCommandBus', IBus::class);
970970
/** @deprecated 20.0.0 */
971971
$this->registerDeprecatedAlias('TrustedDomainHelper', TrustedDomainHelper::class);
972-
$this->registerDeprecatedAlias(ITrustedDomainHelper::class, TrustedDomainHelper::class);
972+
$this->registerAlias(ITrustedDomainHelper::class, TrustedDomainHelper::class);
973973
/** @deprecated 19.0.0 */
974974
$this->registerDeprecatedAlias('Throttler', Throttler::class);
975975
$this->registerService('IntegrityCodeChecker', function (ContainerInterface $c) {

0 commit comments

Comments
 (0)