Changeset 9195
- Timestamp:
- 11/27/2014 07:24:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-template.php
r9188 r9195 726 726 } 727 727 728 $thread_template = new BP_Messages_Thread_Template( $thread_id, 'ASC' ); 728 $thread_template = new BP_Messages_Thread_Template( $thread_id, 'ASC', array( 729 'update_meta_cache' => false 730 ) ); 729 731 730 732 $count = 0; … … 1470 1472 * @see BP_Messages_Thread::populate() for full parameter info 1471 1473 */ 1472 public function __construct( $thread_id , $order, $args) {1474 public function __construct( $thread_id = 0, $order = 'ASC', $args = array() ) { 1473 1475 $this->thread = new BP_Messages_Thread( $thread_id, $order, $args ); 1474 1476 $this->message_count = count( $this->thread->messages );
Note: See TracChangeset
for help on using the changeset viewer.