Skip to content

Commit 8c03f9f

Browse files
committed
Remove redundant code
1 parent d1ebc31 commit 8c03f9f

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)