Skip to content

Commit

Permalink
Fix for bug affecting performance when lots of uploaded clips
Browse files Browse the repository at this point in the history
  • Loading branch information
ndunand committed Jul 14, 2017
1 parent a858713 commit c278dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/series.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public static function processUploadedClips() {

foreach ($opencasts as $opencast) {

$uploaded_videos = $DB->get_records('opencast_uploadedclip', ['opencastid' => $opencast->id]);
$uploaded_videos = $DB->get_records('opencast_uploadedclip', ['opencastid' => $opencast->id, 'status' => OPENCAST_CLIP_UPLOADED]);
if (!$uploaded_videos) {
continue;
}
Expand Down

0 comments on commit c278dcb

Please sign in to comment.