]> git.mxchange.org Git - friendica.git/commitdiff
The "follow" activity is now stored in the "item-activity" table
authorMichael <heluecht@pirati.ca>
Sun, 10 Feb 2019 22:06:27 +0000 (22:06 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 10 Feb 2019 22:06:27 +0000 (22:06 +0000)
src/Model/Item.php

index 54bd4a0ef7fe9db03e47079ec3cac5f781d0ab17..1da9eeaaac51f28137f35d225451cf58be24e1ff 100644 (file)
@@ -91,7 +91,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;