This commit is contained in:
Zach Prezkuta 2012-07-07 18:48:20 -06:00
parent da2ccebed8
commit 6d10374c17
1 changed files with 0 additions and 5 deletions

View File

@ -3226,11 +3226,6 @@ function fix_private_photos($s, $uid, $item = null, $cid = 0) {
// permissions, regardless of order but first check to see if they're an exact
// match to save some processing overhead.
// To embed multiples, we would need to parse out the embedded photos on message
// receipt and limit size based only on the text component. Would also need to
// ignore all photos during bbcode translation and item localisation, as these
// will hit internal regex backtrace limits.
if(has_permissions($r[0])) {
if($cid) {
$recips = enumerate_permissions($r[0]);