Move update_indexes into the schema method

This commit is contained in:
FusionPBX
2026-01-12 14:17:10 -07:00
committed by GitHub
parent f5847e5e5b
commit 6f37951e02
4 changed files with 3 additions and 9 deletions
-3
View File
@@ -152,9 +152,6 @@
$obj = new schema(['database' => $database]);
$_SESSION["response"]["schema"] = $obj->schema("html");
message::add($text['message-upgrade_schema'], null, $message_timeout);
//update database foreign key indexes
$database->update_indexes();
}
//process the apps defaults
-3
View File
@@ -235,9 +235,6 @@
echo " ".trim($row)."\n";
}
}
//update database foreign key indexes
$database->update_indexes();
}
-3
View File
@@ -353,9 +353,6 @@ function do_upgrade_schema() {
//get the database schema put it into an array then compare and update the database as needed.
$obj = new schema();
echo $obj->schema('text');
//update the database foreign key indexes
$database->update_indexes();
}
/**