MDL-16411 Oops, I had the logic backwards.

This commit is contained in:
tjhunt
2008-09-10 10:30:43 +00:00
parent d849880e56
commit 6f49dd0f36
+1 -1
View File
@@ -814,7 +814,7 @@ function xmldb_main_upgrade($oldversion) {
// Special case - this is something different from a plugin version number.
continue;
}
if (preg_match('/^\d{10}$/', $value)) {
if (!preg_match('/^\d{10}$/', $value)) {
// Extra safety check, skip anything that does not look like a Moodle
// version number (10 digits).
continue;