]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix const visibility
authorJulius Härtl <jus@bitgrid.net>
Tue, 18 Aug 2020 18:31:03 +0000 (20:31 +0200)
committerJulius Härtl <jus@bitgrid.net>
Wed, 19 Aug 2020 15:07:29 +0000 (17:07 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/dashboard/lib/Service/BackgroundService.php

index 4e154dd0170ac38b85c76e8c44a5915c35ddd693..da0de6117e6bfcc23372308369ff83e88fc9497c 100644 (file)
@@ -36,10 +36,9 @@ use OCP\IConfig;
 
 class BackgroundService {
 
-       const THEMING_MODE_LIGHT = 'light';
-       const THEMING_MODE_DARK = 'dark';
+       public const THEMING_MODE_DARK = 'dark';
 
-       const SHIPPED_BACKGROUNDS = [
+       public const SHIPPED_BACKGROUNDS = [
                'anatoly-mikhaltsov-butterfly-wing-scale.jpg' => [
                        'attribution' => 'Butterfly',
                        'attribution_url' => 'https://',