]> git.mxchange.org Git - friendica.git/commitdiff
Revert the storing of the "follow" activity
authorMichael <heluecht@pirati.ca>
Sun, 10 Feb 2019 22:08:48 +0000 (22:08 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 10 Feb 2019 22:08:48 +0000 (22:08 +0000)
src/Model/Item.php

index 1da9eeaaac51f28137f35d225451cf58be24e1ff..54bd4a0ef7fe9db03e47079ec3cac5f781d0ab17 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, ACTIVITY_FOLLOW];
+       const ACTIVITIES = [ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE];
 
        private static $legacy_mode = null;