Skip to content

Commit

Permalink
Fix /api/sequence to only return fseq files #1995
Browse files Browse the repository at this point in the history
  • Loading branch information
darylc committed Jan 4, 2025
1 parent 25fa492 commit 2b4f0cc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions www/api/controllers/sequence.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ function GetSequences()
foreach (glob($dir . "/*.fseq") as $filename) {
array_push($sequences, basename($filename, ".fseq"));
}
$dir = $settings['effectDirectory'];
foreach (glob($dir . "/*.eseq") as $filename) {
array_push($sequences, basename($filename, ".eseq"));
}

return json($sequences);
}
Expand Down

0 comments on commit 2b4f0cc

Please sign in to comment.