Skip to content

Commit 437d41c

Browse files
committed
fix Entry.php
1 parent 662f4db commit 437d41c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/Entry.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ class Entry extends rex_yform_manager_dataset
4848
public const ONLINE = 1;
4949

5050
// Single point of truth for field names
51-
public const string ID = 'id';
52-
public const string STATUS_FIELD = 'status';
51+
public const string STATUS = 'status';
5352
public const string NAME = 'name';
5453
public const string TEASER = 'teaser';
5554
public const string DESCRIPTION = 'description';
@@ -70,8 +69,7 @@ class Entry extends rex_yform_manager_dataset
7069
public const string CANONICAL_URL = 'canonical_url';
7170

7271
public const array FIELD_CONFIG = [
73-
self::ID,
74-
self::STATUS_FIELD => [],
72+
self::STATUS => [],
7573
self::NAME => [],
7674
self::TEASER => [],
7775
self::DESCRIPTION => [],

0 commit comments

Comments
 (0)