update usage of deprecated function
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user