Code Duplication    Length = 3-3 lines in 2 locations

class/PublicWallUpdates.php 1 location

@@ 463-465 (lines=3) @@
460
            $wm['permalink']     = $helper->url("permalink.php?ownerid={$data['uid_fk']}&updid={$data['msg_id']}");
461
            $wm['commentsarray'] = $this->Comments($data['msg_id']);
462
463
            if (2 == $frU[0] || 1 == $USW['posts']) {
464
                $GLOBALS['xoopsTpl']->append('walldata', $wm);
465
            }
466
467
            foreach ($wm['commentsarray'] as $cdata) {
468
                // Is comment user a friend ?

class/WallUpdates.php 1 location

@@ 522-524 (lines=3) @@
519
            $wm['permalink']     = $helper->url("permalink.php?ownerid={$data['uid_fk']}&updid={$data['msg_id']}");
520
            $wm['commentsarray'] = $this->Comments($data['msg_id']);
521
522
            if (2 == $frU[0] || 1 == $USW['posts']) {
523
                $GLOBALS['xoopsTpl']->append('walldata', $wm);
524
            }
525
526
            foreach ($wm['commentsarray'] as $cdata) {
527
                // Is commentuser a friend ?