Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrik Chadima authored and Patrik Chadima committed Mar 12, 2020
1 parent 585c3c5 commit e8994bb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions search.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ private function sizeInBytes($size, $modifier) {
return $size;
}
}

/**
* Returns a string of category
*
Expand Down Expand Up @@ -280,7 +281,6 @@ private function getDownloadlink($fid, $filename) {
}

public function parse($plugin, $response) {

$resArr = json_decode($response, TRUE);
$debugArr = print_r($resArr['torrentList'], TRUE);
$res = 0;
Expand All @@ -307,11 +307,7 @@ public function parse($plugin, $response) {
$plugin->addResult($title, $download, $size, $datetime, $page, $hash, $seeds, $leechs, $category);
$res++;
}

$this->DebugLog("Count: " . $res);

return $res;

}
}
?>

0 comments on commit e8994bb

Please sign in to comment.