Skip to content

Commit 4591b7b

Browse files
MAGETWO-87254: Remove redundant code for clarity #13303
2 parents 1499b5d + ca6a928 commit 4591b7b

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)