We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f34cdf commit 13aed7dCopy full SHA for 13aed7d
www/core/components/course/services/prefetchdelegate.js
@@ -186,10 +186,6 @@ angular.module('mm.core')
186
187
return promise.then(function(files) {
188
189
- if (files.length === 0) { // No files, treat is as downloaded.
190
- return $q.when(mmCoreDownloaded);
191
- }
192
-
193
// Get revision and timemodified if they aren't defined.
194
// If handler doesn't define a function to get them, get them from file list.
195
var promises = [];
0 commit comments