aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-10-21 09:26:17 +0200
committerVincent Petry <vincent@nextcloud.com>2022-11-22 13:51:18 +0100
commit8992ba85c75d0f2de71b85e6d521f45a68f55e6f (patch)
treeb4c9b84dcac84ced7f932f0137f0241c6357e341
parent300148b21d5674a9033a8338188cd079f0bb9673 (diff)
downloadnextcloud-server-8992ba85c75d0f2de71b85e6d521f45a68f55e6f.tar.gz
nextcloud-server-8992ba85c75d0f2de71b85e6d521f45a68f55e6f.zip
use const
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
-rw-r--r--apps/theming/lib/Jobs/MigrateBackgroundImages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Jobs/MigrateBackgroundImages.php b/apps/theming/lib/Jobs/MigrateBackgroundImages.php
index b0e21de4909..69374aa694a 100644
--- a/apps/theming/lib/Jobs/MigrateBackgroundImages.php
+++ b/apps/theming/lib/Jobs/MigrateBackgroundImages.php
@@ -71,7 +71,7 @@ class MigrateBackgroundImages extends QueuedJob {
protected function run($argument): void {
if (!isset($argument['stage'])) {
// not executed in 25.0.0?!
- $argument['stage'] = 'prepare';
+ $argument['stage'] = self::STAGE_PREPARE;
}
switch ($argument['stage']) {