Skip to content

Commit

Permalink
Bugfic series cache handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ndunand committed Jul 8, 2021
1 parent c5c3cab commit 29ffe15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/apicall.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ static function clear_cache($dirname, $request_type, $request_url) {
}
else if ($request_url == '/series') {
// adding a series -> clear global series list
$filter = 'series_';
$filter = 'series_limit_9999';
// return unlink($dirname . DIRECTORY_SEPARATOR . $filter); // only delete this very file
return unlink($dirname . DIRECTORY_SEPARATOR . 'ROLE_AAI_USER_' . mod_opencast_user::getExtIdFromMoodleUserId($USER->id) . '_' . $filter); // only delete this very file
}
Expand Down

0 comments on commit 29ffe15

Please sign in to comment.