diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-11-12 15:04:24 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2021-11-12 15:04:24 +0100 |
commit | df3d9107efe26f492f4b7c8f9523097e6f934551 (patch) | |
tree | f5fa97a48af021689664ba885471a79f8e1c926d /lib/private/Template/SCSSCacher.php | |
parent | 31bcd10c2ac272d77ac578172f3d6e035fd9b48d (diff) | |
download | nextcloud-server-df3d9107efe26f492f4b7c8f9523097e6f934551.tar.gz nextcloud-server-df3d9107efe26f492f4b7c8f9523097e6f934551.zip |
Fix core depending on theming app
This was introduced in https://github.com/nextcloud/server/commit/309354852f12ae88d5eef05d311d6ebcba8ee762
to fix a bug but I can't reproduce the bug after reverting this change.
Ideally we would need to create an interface in OCP and cleanup OC_Defaults
instead of depending on OC_Defaults.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/private/Template/SCSSCacher.php')
-rw-r--r-- | lib/private/Template/SCSSCacher.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index c1bd556de60..8118a2b86c5 100644 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -32,7 +32,6 @@ namespace OC\Template; use OC\AppConfig; use OC\Files\AppData\Factory; use OC\Memcache\NullCache; -use OCA\Theming\ThemingDefaults; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Files\IAppData; use OCP\Files\NotFoundException; @@ -63,7 +62,7 @@ class SCSSCacher { /** @var IConfig */ protected $config; - /** @var ThemingDefaults */ + /** @var \OC_Defaults */ private $defaults; /** @var string */ @@ -97,7 +96,7 @@ class SCSSCacher { * @param Factory $appDataFactory * @param IURLGenerator $urlGenerator * @param IConfig $config - * @param ThemingDefaults $defaults + * @param \OC_Defaults $defaults * @param string $serverRoot * @param ICacheFactory $cacheFactory * @param IconsCacher $iconsCacher @@ -107,7 +106,7 @@ class SCSSCacher { Factory $appDataFactory, IURLGenerator $urlGenerator, IConfig $config, - ThemingDefaults $defaults, + \OC_Defaults $defaults, $serverRoot, ICacheFactory $cacheFactory, IconsCacher $iconsCacher, |