Skip to content

Commit

Permalink
Refactor OC\Server::getCapabilitiesManager
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
  • Loading branch information
summersab authored and skjnldsv committed Mar 15, 2024
1 parent df1cd1b commit b45c3a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/private/TemplateLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
namespace OC;

use bantu\IniGetWrapper\IniGetWrapper;
use OC\CapabilitiesManager;
use OC\Search\SearchQuery;
use OC\Template\CSSResourceLocator;
use OC\Template\JSConfigHelper;
Expand Down Expand Up @@ -258,7 +259,7 @@ public function __construct($renderAs, $appId = '') {
\OC::$server->getGroupManager(),
\OC::$server->get(IniGetWrapper::class),
\OC::$server->getURLGenerator(),
\OC::$server->getCapabilitiesManager(),
\OC::$server->get(CapabilitiesManager::class),
\OCP\Server::get(IInitialStateService::class)
);
$config = $jsConfigHelper->getConfig();
Expand Down

0 comments on commit b45c3a0

Please sign in to comment.