Merge pull request #6944 from annando/item-follow

Store the follow activity in the "item-activity" table
This commit is contained in:
Hypolite Petovan 2019-03-27 18:41:19 -04:00 gecommit door GitHub
bovenliggende ef0545645a 2df2f623e1
commit a3829e8fc7
Geen bekende sleutel gevonden voor deze handtekening in de database
GPG sleutel-ID: 4AEE18F83AFDEB23
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen

Bestand weergeven

@ -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;