mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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:
parent
31bcd10c2a
commit
df3d9107ef
1 changed files with 3 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue