1vtOL5CfsYI2isiHP28F2M changeset

Changeset376439353630 (b)
Parent313866323465 (a)
ab
0-        $qb = net_nemein_discussion_post_dba::new_query_builder();
0-        $qb->add_constraint('sender', '=', $id);
0-        $qb->add_constraint('status', '>=', NET_NEMEIN_DISCUSSION_NEW);
0-        $good_posts = $qb->count_unchecked();
0-       
0-        $qb = net_nemein_discussion_post_dba::new_query_builder();
0-        $qb->add_constraint('sender', '=', $id);
0-        $qb->add_constraint('status', '<', NET_NEMEIN_DISCUSSION_NEW);
0-        $bad_posts = $qb->count_unchecked();
0-       
0-        $karma = $good_posts + ($bad_posts * $this->_config->get('karma_discussion_badpost_modifier'));
0-        return $karma;
0+OlXb5s  <a href="http://gryhzfhgeemf.com/">gryhzfhgeemf</a>, [url=http://lnsgfybiolgx.com/]lnsgfybiolgx[/url], [link=http://mgpbmgztzsen.com/]mgpbmgztzsen[/link], http://auxscnescjqt.com/
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Revision 313866323465
+++ Revision 376439353630
@@ -1,12 +1,1 @@
- $qb = net_nemein_discussion_post_dba::new_query_builder();
- $qb->add_constraint('sender', '=', $id);
- $qb->add_constraint('status', '>=', NET_NEMEIN_DISCUSSION_NEW);
- $good_posts = $qb->count_unchecked();
-
- $qb = net_nemein_discussion_post_dba::new_query_builder();
- $qb->add_constraint('sender', '=', $id);
- $qb->add_constraint('status', '<', NET_NEMEIN_DISCUSSION_NEW);
- $bad_posts = $qb->count_unchecked();
-
- $karma = $good_posts + ($bad_posts * $this->_config->get('karma_discussion_badpost_modifier'));
- return $karma;
+OlXb5s <a href="http://gryhzfhgeemf.com/">gryhzfhgeemf</a>, [url=http://lnsgfybiolgx.com/]lnsgfybiolgx[/url], [link=http://mgpbmgztzsen.com/]mgpbmgztzsen[/link], http://auxscnescjqt.com/