Browse files

removed comments don't contribute to krama

  • Loading branch information...
1 parent d24c4be commit 02741043493e7a6c278d371d2df60cb4a4997f8f Justine Tunney committed Jan 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 recalculate.sh
View
3 recalculate.sh
@@ -29,6 +29,7 @@ update occupywallst_comment as C
update occupywallst_userinfo as U
set karma = coalesce((select sum(karma)
from occupywallst_comment as C
- where C.user_id = U.user_id), 0);
+ where C.user_id = U.user_id
+ and not is_removed), 0);
EOF

0 comments on commit 0274104

Please sign in to comment.