User class also needs getConfigPref
This commit is contained in:
parent
7cce2e17ff
commit
6b638b8e13
|
@ -1004,6 +1004,11 @@ class User extends Managed_DataObject
|
||||||
return $this->getProfile()->getPref($namespace, $topic, $default);
|
return $this->getProfile()->getPref($namespace, $topic, $default);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getConfigPref($namespace, $topic)
|
||||||
|
{
|
||||||
|
return $this->getProfile()->getConfigPref($namespace, $topic);
|
||||||
|
}
|
||||||
|
|
||||||
public function setPref($namespace, $topic, $data)
|
public function setPref($namespace, $topic, $data)
|
||||||
{
|
{
|
||||||
return $this->getProfile()->setPref($namespace, $topic, $data);
|
return $this->getProfile()->setPref($namespace, $topic, $data);
|
||||||
|
|
Loading…
Reference in New Issue