User class also needs getConfigPref

This commit is contained in:
Mikael Nordfeldth 2015-02-03 22:04:29 +01:00
parent 7cce2e17ff
commit 6b638b8e13

View 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);