4728 Remove databases after upgrade

skala
Laurent Opprecht 13 years ago
parent 4e3ada1173
commit b631aa2b5d
  1. 1
      main/admin/system_management.php

@ -98,6 +98,7 @@ EOT;
{
$result = array();
$courses = $this->get_old_databases();
$course_db = Database::get_main_table(TABLE_MAIN_COURSE);
foreach ($courses as $course) {
$drop_statement = 'DROP DATABASE ' . $course['db_name'];
$success = Database::query($drop_statement);

Loading…
Cancel
Save