From: Julius Härtl Date: Tue, 18 Aug 2020 18:31:03 +0000 (+0200) Subject: Fix const visibility X-Git-Tag: v20.0.0beta1~35^2~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a4ebef75e94408d922e89896459ee9e43965b5c0;p=nextcloud-server.git Fix const visibility Signed-off-by: Julius Härtl --- diff --git a/apps/dashboard/lib/Service/BackgroundService.php b/apps/dashboard/lib/Service/BackgroundService.php index 4e154dd0170..da0de6117e6 100644 --- a/apps/dashboard/lib/Service/BackgroundService.php +++ b/apps/dashboard/lib/Service/BackgroundService.php @@ -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://',