Commit f0bb796c authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4488 (Inbox notifier systems don't update for post REPLIES)

parent c2c0c9eb
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -375,8 +375,10 @@ function cns_make_post($topic_id, $title, $post, $skip_sig = 0, $is_starter = fa
                }

                decache(array(
                    array('side_cns_private_topics', array($with)),
                    array('_new_pp', array($with)),
                    array('side_cns_private_topics', null),
                    array('_new_pp', null),
                    array('_get_pts', null),
                    $with
                ));
            }
        }
+4 −2
Original line number Diff line number Diff line
@@ -76,8 +76,10 @@ function cns_make_topic($forum_id, $description = '', $emoticon = '', $validated

        if (!is_null($pt_to)) {
            decache(array(
                array('side_cns_private_topics', array($pt_to)),
                array('_new_pp', array($pt_to)),
                array('side_cns_private_topics', null),
                array('_new_pp', null),
                array('_get_pts', null),
                $pt_to
            ));
        }

+4 −2
Original line number Diff line number Diff line
@@ -310,8 +310,10 @@ function cns_read_in_topic($topic_id, $start, $max, $view_poll_results = false,
            }

            decache(array(
                array('side_cns_private_topics', array(get_member())),
                array('_new_pp', array(get_member())),
                array('side_cns_private_topics', null),
                array('_new_pp', null),
                array('_get_pts', null),
                get_member()
            ));
        }
        // Check validated