summaryrefslogtreecommitdiff
path: root/includes/db_schema/db_schema_20_21.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/db_schema/db_schema_20_21.php')
-rw-r--r--includes/db_schema/db_schema_20_21.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/db_schema/db_schema_20_21.php b/includes/db_schema/db_schema_20_21.php
index 97211cc892..3d7529d6c6 100644
--- a/includes/db_schema/db_schema_20_21.php
+++ b/includes/db_schema/db_schema_20_21.php
@@ -60,5 +60,5 @@ try {
self::exec("UPDATE `##media` SET m_type = SUBSTRING_INDEX(SUBSTRING_INDEX(m_gedcom, '\n3 TYPE ', -1), '\n', 1) WHERE m_gedcom like '%\n3 TYPE %'");
// Update the version to indicate success
-WT_Site::preference($schema_name, $next_version);
+WT_Site::setPreference($schema_name, $next_version);