Added warning
This commit is contained in:
parent
32d398cc93
commit
5a07042560
1 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,8 @@ class Item extends BaseObject
|
||||||
'author-id', 'author-link', 'author-name', 'author-avatar',
|
'author-id', 'author-link', 'author-name', 'author-avatar',
|
||||||
'owner-id', 'owner-link', 'owner-name', 'owner-avatar'];
|
'owner-id', 'owner-link', 'owner-name', 'owner-avatar'];
|
||||||
|
|
||||||
|
// Never reorder or remove entries from this list. Just add new ones at the end, if needed.
|
||||||
|
// The item-activity table only stores the index and needs this array to know the matching activity.
|
||||||
const ACTIVITIES = [ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE];
|
const ACTIVITIES = [ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue