Skip to content

Commit

Permalink
Fix isValid for legacy ROMs
Browse files Browse the repository at this point in the history
  • Loading branch information
syphyr committed Mar 25, 2022
1 parent 72d6d8b commit 0a84ace
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Helpers/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ public function __construct($fileName, $physicalPath) {
* @return boolean True if valid, False if not.
*/
public function isValid($params){
if ( $params === NULL ) return true; // Assume valid if no parameters

$ret = false;

if ( $params['device'] == $this->model ) {
Expand Down

0 comments on commit 0a84ace

Please sign in to comment.