Merge pull request #4176 from dokuwiki/bot/autofix

🤖 Automatic code style fixes
This commit is contained in:
Andreas Gohr 2024-02-02 15:09:19 +01:00 committed by GitHub
commit 6031346ff2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
* @author Andreas Gohr <andi@splitbrain.org>
*/
use LesserPHP\Lessc;
use dokuwiki\StyleUtils;
use dokuwiki\Cache\Cache;
use dokuwiki\Extension\Event;
@ -208,7 +209,7 @@ function css_parseless($css)
{
global $conf;
$less = new LesserPHP\Lessc();
$less = new Lessc();
$less->setImportDir([DOKU_INC]);
$less->setPreserveComments(!$conf['compress']);