Skip to content

Commit

Permalink
[media] Remove unused code (#3705)
Browse files Browse the repository at this point in the history
This removes the validFilters and formToFilter variables which are unused when using React.
  • Loading branch information
ridz1208 authored and driusan committed Jun 18, 2018
1 parent 686accb commit 33de699
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions modules/media/php/media.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -210,22 +210,6 @@ class Media extends \NDB_Menu_Filter
array_push($this->headers, 'Edit Metadata');
}

$this->validFilters = [
'c.PSCID',
'm.instrument',
's.Visit_label',
's.CenterID',
'm.hide_file',
'l.language_id',
];
$this->formToFilter = [
'pscid' => 'c.PSCID',
'instrument' => 'm.instrument',
'visit_label' => 's.Visit_label',
'for_site' => 's.CenterID',
'hide_file' => 'm.hide_file',
'language' => 'l.language_id',
];
return true;
}

Expand Down

0 comments on commit 33de699

Please sign in to comment.