diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-11-23 15:59:53 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-11-23 15:59:53 +0300 |
| commit | c2d0c5a5c934a9472d123742b4b3ea8da000a0d3 (patch) | |
| tree | 9b76909f9f4261a0a540f32058e71e3c952130c9 /include/functions.php | |
| parent | 648024eb2e760b787bfabc5c8e51fcf7e68c7eb1 (diff) | |
update usage of deprecated function
Diffstat (limited to 'include/functions.php')
| -rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index dcb37cb86..9fb98c60b 100644 --- a/include/functions.php +++ b/include/functions.php @@ -143,7 +143,7 @@ } } - if (!empty($_SESSION["uid"]) && get_schema_version() >= 120) { + if (!empty($_SESSION["uid"]) && Config::get_schema_version() >= 120) { $pref_locale = Prefs::get(Prefs::USER_LANGUAGE, $_SESSION["uid"], $_SESSION["profile"] ?? null); if (!empty($pref_locale) && $pref_locale != 'auto') { |