diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-22 12:08:53 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-01-06 09:42:13 +0100 |
commit | 95d85ba8eb3ba65d457fbfe935fe60eda878f2e8 (patch) | |
tree | bc26c65fe170f610b6de200125543891d225ed12 /core/Application.php | |
parent | 2816177ecb8349de87677a83d9dabbdc069fd346 (diff) | |
download | nextcloud-server-95d85ba8eb3ba65d457fbfe935fe60eda878f2e8.tar.gz nextcloud-server-95d85ba8eb3ba65d457fbfe935fe60eda878f2e8.zip |
Do not add ICssManager to OCP
We can add it later if needed
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/Application.php')
-rw-r--r-- | core/Application.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php index 545b5fe420b..ec93c50b445 100644 --- a/core/Application.php +++ b/core/Application.php @@ -31,6 +31,7 @@ namespace OC\Core; use OC\AppFramework\Utility\SimpleContainer; +use OC\CssManager; use OC\Security\IdentityProof\Manager; use OCP\AppFramework\App; use OCP\Files\IAppData; @@ -57,5 +58,8 @@ class Application extends App { \OC::$server->getCrypto() ); }); + $container->registerService(CssManager::class, function () { + return new CssManager(\OC::$server->getAppDataDir('css')); + }); } } |