Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
register alias for DownloadManager
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Apr 6, 2021
commit 397cecd089d52647dfc4f11cad7dee2ccf71bc25
4 changes: 4 additions & 0 deletions lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
use OC\Files\Storage\StorageFactory;
use OC\Files\Template\TemplateManager;
use OC\Files\Type\Loader;
use OC\Files\Utils\DownloadManager;
use OC\Files\View;
use OC\FullTextSearch\FullTextSearchManager;
use OC\Http\Client\ClientService;
Expand Down Expand Up @@ -170,6 +171,7 @@
use OCP\Files\NotFoundException;
use OCP\Files\Storage\IStorageFactory;
use OCP\Files\Template\ITemplateManager;
use OCP\Files\Utils\IDownloadManager;
use OCP\FullTextSearch\IFullTextSearchManager;
use OCP\GlobalScale\IConfig;
use OCP\Group\Events\BeforeGroupCreatedEvent;
Expand Down Expand Up @@ -1345,6 +1347,8 @@ public function __construct($webRoot, \OC\Config $config) {

$this->registerAlias(\OCP\UserStatus\IManager::class, \OC\UserStatus\Manager::class);

$this->registerAlias(IDownloadManager::class, DownloadManager::class);

$this->connectDispatcher();
}

Expand Down