aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Maintenance/UpdateTheme.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Maintenance/UpdateTheme.php')
-rw-r--r--core/Command/Maintenance/UpdateTheme.php35
1 files changed, 4 insertions, 31 deletions
diff --git a/core/Command/Maintenance/UpdateTheme.php b/core/Command/Maintenance/UpdateTheme.php
index 10526fd54e6..3fbcb546cca 100644
--- a/core/Command/Maintenance/UpdateTheme.php
+++ b/core/Command/Maintenance/UpdateTheme.php
@@ -1,27 +1,8 @@
<?php
+
/**
- * @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
- *
- * @author Joas Schilling <coding@schilljs.com>
- * @author Julius Härtl <jus@bitgrid.net>
- * @author Morris Jobke <hey@morrisjobke.de>
- * @author Roeland Jago Douma <roeland@famdouma.nl>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OC\Core\Command\Maintenance;
@@ -33,19 +14,11 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class UpdateTheme extends UpdateJS {
-
- /** @var IMimeTypeDetector */
- protected $mimetypeDetector;
-
- /** @var ICacheFactory */
- protected $cacheFactory;
-
public function __construct(
IMimeTypeDetector $mimetypeDetector,
- ICacheFactory $cacheFactory
+ protected ICacheFactory $cacheFactory,
) {
parent::__construct($mimetypeDetector);
- $this->cacheFactory = $cacheFactory;
}
protected function configure() {