MDL-45113 auth: add is_configured method and convert auth_db to use it

This commit is contained in:
Charles Fulton
2015-07-31 15:18:43 +00:00
parent 9f405b6c6d
commit c90d759569
3 changed files with 32 additions and 0 deletions
+9
View File
@@ -212,6 +212,15 @@ class auth_plugin_base {
return true;
}
/**
* Returns false if this plugin is enabled but not configured.
*
* @return bool
*/
public function is_configured() {
return false;
}
/**
* Indicates if password hashes should be stored in local moodle database.
* @return bool true means md5 password hash stored in user table, false means flag 'not_cached' stored there instead