return $this->getUser()->shortenLinks($text, $always);
}
+ public function delPref($namespace, $topic) {
+ return Profile_prefs::setData($this, $namespace, $topic, null);
+ }
+
public function getPref($namespace, $topic, $default=null) {
return Profile_prefs::getData($this, $namespace, $topic, $default);
}
return $act;
}
+ public function delPref($namespace, $topic)
+ {
+ return $this->getProfile()->delPref($namespace, $topic);
+ }
+
public function getPref($namespace, $topic, $default=null)
{
return $this->getProfile()->getPref($namespace, $topic, $default);