We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 4eea68e5 authored by mattl's avatar mattl

getConfigPref for globally configurable fallbacks

parent ff004c59
......@@ -1579,6 +1579,12 @@ class Profile extends Managed_DataObject
// The same as getPref but will fall back to common_config value for the same namespace/topic
public function getConfigPref($namespace, $topic)
return Profile_prefs::getConfigData($this, $namespace, $topic);
public function setPref($namespace, $topic, $data) {
return Profile_prefs::setData($this, $namespace, $topic, $data);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment