aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Console
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-15 08:46:31 +0200
committerJoas Schilling <coding@schilljs.com>2016-07-15 09:17:30 +0200
commit2c988ecbf498bebd8ac904e0c457521350cf469f (patch)
tree9a5be8451b1c763c5009b89f52993372cacaf735 /lib/private/Console
parente8d6621a2485196c66d0743df3072da3b9e9c36b (diff)
downloadnextcloud-server-2c988ecbf498bebd8ac904e0c457521350cf469f.tar.gz
nextcloud-server-2c988ecbf498bebd8ac904e0c457521350cf469f.zip
Use the themed Defaults everywhere
Diffstat (limited to 'lib/private/Console')
-rw-r--r--lib/private/Console/Application.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Console/Application.php b/lib/private/Console/Application.php
index ec91064278e..be561342178 100644
--- a/lib/private/Console/Application.php
+++ b/lib/private/Console/Application.php
@@ -26,8 +26,8 @@
namespace OC\Console;
use OC_App;
-use OC_Defaults;
use OCP\Console\ConsoleEvent;
+use OCP\Defaults;
use OCP\IConfig;
use OCP\IRequest;
use Symfony\Component\Console\Application as SymfonyApplication;
@@ -51,7 +51,7 @@ class Application {
* @param IRequest $request
*/
public function __construct(IConfig $config, EventDispatcherInterface $dispatcher, IRequest $request) {
- $defaults = new OC_Defaults;
+ $defaults = \OC::$server->getThemingDefaults();
$this->config = $config;
$this->application = new SymfonyApplication($defaults->getName(), \OC_Util::getVersionString());
$this->dispatcher = $dispatcher;