Change the name of method schema to upgrade

This commit is contained in:
FusionPBX
2026-01-13 11:43:55 -07:00
committed by GitHub
parent afc9a733e7
commit 2975e166fc
2 changed files with 4 additions and 4 deletions

View File

@@ -196,7 +196,7 @@ class schema {
*
* @return string
*/
public function schema($format = '') {
public function upgrade($format = '') {
//set the global variable
global $text, $output_format;
@@ -1036,6 +1036,6 @@ class schema {
//example use
//$schema = new schema();
//$schema->db_type = $db_type;
//$schema->schema();
//$schema->upgrade();
//$result_array = $schema->obj['sql'];
//print_r($result_array);