1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-17 22:28:22 +01:00

[FirefoxAddonsBridge] Remove duplicate code (#2209)

This commit is contained in:
Joseph 2021-07-12 17:56:51 +00:00 committed by GitHub
parent 9fa782105d
commit 971cd9ba39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,6 @@ class FirefoxAddonsBridge extends BridgeAbstract {
foreach ($html->find('li.AddonVersionCard') as $li) { foreach ($html->find('li.AddonVersionCard') as $li) {
$item = array(); $item = array();
$item['title'] = $li->find('h2.AddonVersionCard-version', 0)->plaintext;
$item['title'] = $li->find('h2.AddonVersionCard-version', 0)->plaintext; $item['title'] = $li->find('h2.AddonVersionCard-version', 0)->plaintext;
$item['uid'] = $item['title']; $item['uid'] = $item['title'];
$item['uri'] = $this->getURI(); $item['uri'] = $this->getURI();