Skip to content

Commit ca6a928

Browse files
committed
MAGETWO-87254: Remove redundant code for clarity #13303
- Merge Pull Request #13303 from akiojalehto/magento2:adjust/feed - Merged commits: 1. 8c03f9f
2 parents 8c705bf + 8c03f9f commit ca6a928

File tree

1 file changed

+0
-3
lines changed
  • app/code/Magento/AdminNotification/Model

1 file changed

+0
-3
lines changed

app/code/Magento/AdminNotification/Model/Feed.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,6 @@ public function getFeedData()
214214
);
215215
$curl->write(\Zend_Http_Client::GET, $this->getFeedUrl(), '1.0');
216216
$data = $curl->read();
217-
if ($data === false) {
218-
return false;
219-
}
220217
$data = preg_split('/^\r?$/m', $data, 2);
221218
$data = trim($data[1]);
222219
$curl->close();

0 commit comments

Comments
 (0)