diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-29 00:39:45 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-29 00:39:45 +0200 |
commit | b9177f5e2e3f9697ef1d2863c827d03154ff828e (patch) | |
tree | 72cc03eb9fa2cad6998e62857651e6a24e6c6c06 /lib/activityutils.php | |
parent | 9587f9f55b55d2819f9ba57f7befd165ab842fa6 (diff) |
* i18n/L10n and translator documentation updates.
* whitespace and indentation updates
Diffstat (limited to 'lib/activityutils.php')
-rw-r--r-- | lib/activityutils.php | 3 |
1 files changed, 0 insertions, 3 deletions
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); |