From: Mikael Nordfeldth Date: Tue, 3 Feb 2015 21:04:29 +0000 (+0100) Subject: User class also needs getConfigPref X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6b638b8e137956fbd6cb1a907a034c6127d00739;p=quix0rs-gnu-social.git User class also needs getConfigPref --- 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);