Commit 6dee36bb authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1663439: Setting a default value for auth 'active'"

parents 11f9b36d 8edf9976
......@@ -114,7 +114,7 @@ abstract class Auth {
$this->institution = $instance->institution;
$this->instancename = $instance->instancename;
$this->priority = $instance->priority;
$this->active = $instance->active;
$this->active = (isset($instance->active) ? $instance->active : 1); // We need to check if column exists yet via upgrade and set a default if not
$this->authname = $instance->authname;
// Return now if the plugin type doesn't require any config
......
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