Store the follow activity in the "item-activity" table

2022.09-rc
Michael 2019-03-27 21:46:32 +00:00
rodzic ef0545645a
commit 2df2f623e1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -92,7 +92,7 @@ class Item extends BaseObject
// 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, ACTIVITY_FOLLOW];
private static $legacy_mode = null;