mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
Remove null check
Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
This commit is contained in:
parent
25c89a6feb
commit
8dcbea124e
1 changed files with 2 additions and 7 deletions
|
|
@ -110,7 +110,7 @@ class ThemingController extends Controller {
|
|||
IAppData $appData,
|
||||
SCSSCacher $scssCacher,
|
||||
IURLGenerator $urlGenerator,
|
||||
IAppManager $appManager = NULL
|
||||
IAppManager $appManager
|
||||
) {
|
||||
parent::__construct($appName, $request);
|
||||
|
||||
|
|
@ -123,12 +123,7 @@ class ThemingController extends Controller {
|
|||
$this->appData = $appData;
|
||||
$this->scssCacher = $scssCacher;
|
||||
$this->urlGenerator = $urlGenerator;
|
||||
|
||||
if (!is_null($appManager)) {
|
||||
$this->appManager = $appManager;
|
||||
} else {
|
||||
$this->appManager = \OC::$server->getAppManager();
|
||||
}
|
||||
$this->appManager = $appManager;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue