Changeset 1067
- Timestamp:
- 12/01/09 13:17:15 (2 years ago)
- File:
-
- 1 edited
-
trunk/smf/Sources/PersonalMessage.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/smf/Sources/PersonalMessage.php
r1048 r1067 119 119 } 120 120 121 // Delete IA cached number of unread messages 122 mem_cache_delete("smf-new-pm-".$user_info["username"]); 123 121 124 // Load up the members maximum message capacity. 122 125 if (!$user_info['is_admin']) … … 1524 1527 { 1525 1528 $recipients[$rec_type][] = $member['id']; 1529 mem_cache_delete("smf-new-pm-".$member['username']); 1526 1530 1527 1531 // Get rid of this username. The ones that remain were not found. … … 1537 1541 1538 1542 $request = db_query(" 1539 SELECT ID_MEMBER 1543 SELECT ID_MEMBER, memberName 1540 1544 FROM {$db_prefix}members 1541 1545 WHERE ID_MEMBER IN (" . implode(',', $_REQUEST['u']) . ") 1542 1546 LIMIT " . count($_REQUEST['u']), __FILE__, __LINE__); 1543 while ($row = mysql_fetch_assoc($request)) 1547 while ($row = mysql_fetch_assoc($request)) { 1544 1548 $recipients['to'][] = $row['ID_MEMBER']; 1549 mem_cache_delete("smf-new-pm-".$row['memberName']); 1550 } 1545 1551 mysql_free_result($request); 1546 1552 }
Note: See TracChangeset
for help on using the changeset viewer.
![[infoarena] development](/chrome/site/logo.png)