Skip to content

Commit b0b1b65

Browse files
[FIX] Cron: Fix since in deprecation attributes
1 parent f8c0525 commit b0b1b65

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

components/ILIAS/Cron/src/CronJob.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public function hasCustomSettings(): bool
232232
/**
233233
* @deprecated
234234
*/
235-
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '13.0')]
235+
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '11.0')]
236236
public function usesLegacyForms(): bool
237237
{
238238
return true;
@@ -249,7 +249,7 @@ public function getCustomConfigurationInput(
249249
/**
250250
* @deprecated
251251
*/
252-
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '13.0')]
252+
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '11.0')]
253253
public function addCustomSettingsToForm(\ilPropertyFormGUI $a_form): void
254254
{
255255
}
@@ -267,7 +267,7 @@ public function saveCustomConfiguration(mixed $form_data): void
267267
/**
268268
* @deprecated
269269
*/
270-
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '13.0')]
270+
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '11.0')]
271271
public function saveCustomSettings(\ilPropertyFormGUI $a_form): bool
272272
{
273273
return true;

components/ILIAS/Cron/src/class.ilObjCronGUI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ protected function buildForm(JobEntity $entity): ILIAS\UI\Component\Input\Contai
516516
/**
517517
* @deprecated
518518
*/
519-
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '13.0')]
519+
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '11.0')]
520520
protected function initLegacyEditForm(JobEntity $entity): ilPropertyFormGUI
521521
{
522522
$job = $entity->getJob();
@@ -636,7 +636,7 @@ public function update(): void
636636
/**
637637
* @deprecated
638638
*/
639-
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '12.0')]
639+
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '11.0')]
640640
public function updateLegacy(): void
641641
{
642642
if (!$this->rbac->system()->checkAccess('write', $this->ref_id)) {

0 commit comments

Comments
 (0)