From 154abc61a0f81bee7757fc57e594f3f4bccc0fdf Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 17 Nov 2024 22:14:08 +0000 Subject: Eliminate use of deprecated 'get_pref()' and 'set_pref()'. --- classes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/Article.php') diff --git a/classes/Article.php b/classes/Article.php index 550e42842..2bc647e48 100644 --- a/classes/Article.php +++ b/classes/Article.php @@ -337,7 +337,7 @@ class Article extends Handler_Protected { $rv['can_inline'] = isset($_SESSION["uid"]) && empty($_SESSION["bw_limit"]) && - !get_pref(Prefs::STRIP_IMAGES) && + !Prefs::get(Prefs::STRIP_IMAGES, $_SESSION["uid"], $_SESSION["profile"] ?? null) && ($always_display_enclosures || !preg_match("/