You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In app/models/user.rb , a function by name first_time_commenter is present, which is added as a part of #3331.
Update the function such that, if a user has created any node or comment in past whose status = 1, then the user shouldn't be considered as first_time_commenter and false would be returned by function.
Make changes in function accordingly.
This issue is for Google Code-In only, other contributors please find other issues from code.publiclab.org. Thanks!
The text was updated successfully, but these errors were encountered:
Current code just checks for comment not for the node. But, anyway this task is not needed anymore, we would be using combination of first_time_poster and first_time_commenter as that makes more sense then updating this function so I have removed it from GCI dashboard.
In
app/models/user.rb
, a function by name first_time_commenter is present, which is added as a part of #3331.Update the function such that, if a user has created any node or comment in past whose status = 1, then the user shouldn't be considered as first_time_commenter and false would be returned by function.
Make changes in function accordingly.
This issue is for Google Code-In only, other contributors please find other issues from code.publiclab.org. Thanks!
The text was updated successfully, but these errors were encountered: