Commit 021bed2b authored by Nigel McNie's avatar Nigel McNie
Browse files

Make the getter able to return fields on the object, as well as config. This...

Make the getter able to return fields on the object, as well as config. This means we can use $auth->type etc. for every auth plugin.
parent e67195ef
......@@ -80,6 +80,9 @@ class AuthXmlrpc extends Auth {
if (array_key_exists($name, $this->config)) {
return $this->config[$name];
}
if (isset($this->$name)) {
return $this->$name;
}
}
/**
......
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