From 10cf76b961a26854cb708008aee9dd6d9c4f42b0 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 13 Jan 2026 11:47:35 -0700 Subject: [PATCH] Rename obj to schema and method schema to upgrade --- core/upgrade/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/upgrade/index.php b/core/upgrade/index.php index 73b096f44b..893d934561 100644 --- a/core/upgrade/index.php +++ b/core/upgrade/index.php @@ -149,8 +149,8 @@ //load an array of the database schema and compare it with the active database if (!empty($action["upgrade_schema"]) && permission_exists("upgrade_schema")) { //update the database schema and types - $obj = new schema(['database' => $database]); - $_SESSION["response"]["schema"] = $obj->schema("html"); + $schema = new schema(['database' => $database]); + $_SESSION["response"]["schema"] = $schema->upgrade("html"); message::add($text['message-upgrade_schema'], null, $message_timeout); }