Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c2985
)
MDL-24759 fixing incorrect skipping on non-url file type resources, credit goes to...
author
Petr Skoda
<skodak@moodle.org>
Tue, 19 Oct 2010 07:46:26 +0000
(07:46 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Tue, 19 Oct 2010 07:46:26 +0000
(07:46 +0000)
mod/url/db/upgradelib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/url/db/upgradelib.php
b/mod/url/db/upgradelib.php
index
c47b733
..
8ff7adc
100644
(file)
--- a/
mod/url/db/upgradelib.php
+++ b/
mod/url/db/upgradelib.php
@@
-63,13
+63,13
@@
function url_20_migrate() {
continue;
} else if (!strpos($path, '://')) {
// not URL
-
return
;
+
continue
;
} else if (preg_match("|$CFG->wwwroot/file.php(\?file=)?/$siteid(/[^\s'\"&\?#]+)|", $path, $matches)) {
// handled by resource module
-
return
;
+
continue
;
} else if (preg_match("|$CFG->wwwroot/file.php(\?file=)?/$candidate->course(/[^\s'\"&\?#]+)|", $path, $matches)) {
// handled by resource module
-
return
;
+
continue
;
}
upgrade_set_timeout();