From b9177f5e2e3f9697ef1d2863c827d03154ff828e Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 29 Sep 2010 00:39:45 +0200 Subject: * i18n/L10n and translator documentation updates. * whitespace and indentation updates --- lib/activityutils.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/activityutils.php') diff --git a/lib/activityutils.php b/lib/activityutils.php index b975a6382..c462514c4 100644 --- a/lib/activityutils.php +++ b/lib/activityutils.php @@ -82,13 +82,11 @@ class ActivityUtils $els = $element->childNodes; foreach ($els as $link) { - if (!($link instanceof DOMElement)) { continue; } if ($link->localName == self::LINK && $link->namespaceURI == self::ATOM) { - $linkRel = $link->getAttribute(self::REL); $linkType = $link->getAttribute(self::TYPE); @@ -109,7 +107,6 @@ class ActivityUtils foreach ($els as $link) { if ($link->localName == self::LINK && $link->namespaceURI == self::ATOM) { - $linkRel = $link->getAttribute(self::REL); $linkType = $link->getAttribute(self::TYPE); -- cgit v1.2.3-54-g00ecf