Fix core depending on theming app

This was introduced in 309354852f
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>
This commit is contained in:
Carl Schwan 2021-11-12 15:04:24 +01:00
parent 31bcd10c2a
commit df3d9107ef
No known key found for this signature in database
GPG key ID: 06B35D38387B67BE

View file

@ -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,