Changeset 4770 for trunk/bp-messages/bp-messages-functions.php
- Timestamp:
- 07/21/2011 10:27:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-functions.php
r4628 r4770 136 136 if ( is_array( $thread_ids ) ) { 137 137 $error = 0; 138 for ( $i = 0 ; $i < count( $thread_ids ); $i++) {138 for ( $i = 0, $count = count( $thread_ids ); $i < $count; ++$i ) { 139 139 if ( !$status = BP_Messages_Thread::delete( $thread_ids[$i]) ) 140 140 $error = 1;
Note: See TracChangeset
for help on using the changeset viewer.