]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
User class also needs getConfigPref
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Feb 2015 21:04:29 +0000 (22:04 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Feb 2015 21:04:29 +0000 (22:04 +0100)
classes/User.php

index 2c64c50e0421b9b15d42bf95e7ae7026ff2111bc..7a19ae3a0a04cbf9e39cdb5d724106292078d78b 100644 (file)
@@ -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);