Changes between Initial Version and Version 1 of Ticket #3794, comment 14
- Timestamp:
- 09/28/2014 01:13:03 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3794, comment 14
initial v1 5 5 > Why do we want to change that away from storing the total count in user meta? User meta seems the appropriate place for this (just like how we already store an activity's total favourite count in its `favorite_count` activity meta). 6 6 7 Well so far user metas are used to store the activity item ids that has been favorited (not the count). So when an activity item is deleted, its ideais still in the usermeta and the count( usermeta ) is wrong.7 Well so far user metas are used to store the activity item ids that has been favorited (not the count). So when an activity item is deleted, its ID is still in the usermeta and the count( usermeta ) is wrong. 8 8 9 9 I have no objection to store a count in user meta, it's just the count is already there by requesting activities having the type 'activity_favorite' for the user id.