Up to [LON-CAPA] / loncom / interface
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_1_1_99_0
&init_dbs now takes a parameter, $drop, which indicates if the system should drop all the cache tables before trying to recreate them. Modified &populate_student_table to call &init_dbs with $drop = 0. Modified &ensure_tables_are_set_up to call &init_dbs with $drop = 1. This means that additions to the student table will not cause the caches to be cleared, but the lack of any single table in a cache set will cause all the remaining tables to be dropped and recreated.