From 6b638b8e137956fbd6cb1a907a034c6127d00739 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 3 Feb 2015 22:04:29 +0100 Subject: [PATCH] User class also needs getConfigPref --- classes/User.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/classes/User.php b/classes/User.php index 2c64c50e04..7a19ae3a0a 100644 --- a/classes/User.php +++ b/classes/User.php @@ -1004,6 +1004,11 @@ class User extends Managed_DataObject return $this->getProfile()->getPref($namespace, $topic, $default); } + public function getConfigPref($namespace, $topic) + { + return $this->getProfile()->getConfigPref($namespace, $topic); + } + public function setPref($namespace, $topic, $data) { return $this->getProfile()->setPref($namespace, $topic, $data);