If the search and replace affected course->modinfo then courses may not work,
so clear the cache
This commit is contained in:
@@ -49,6 +49,10 @@ foreach ($tables as $table) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Clear course cache which might be corrupted now
|
||||
execute_sql("UPDATE ".$CFG->prefix."course SET modinfo = '' WHERE id <> ".SITEID);
|
||||
|
||||
print_simple_box_end();
|
||||
|
||||
print_continue('index.php');
|
||||
|
||||
Reference in New Issue
Block a user