From 8d08612b121a0091040c5fa20039ddc77b7f3301 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 19 Mar 2008 23:09:00 +0000 Subject: [PATCH] MDL-13990 ignore bogus dirs in moodledata/user during upgrade; merged from MOODLE_19_STABLE --- lib/db/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 0ceac471e9..09d6ba49c5 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -2584,8 +2584,8 @@ function xmldb_main_upgrade($oldversion=0) { // Create new user directory if (!$newdir = make_user_directory($userid)) { - $result = false; - break; + // some weird directory - do not stop the upgrade, just ignore it + continue; } // Move contents of old directory to new one -- 2.39.5