MDL-14055 auth sync constants, needed for sync cleanup - backporting from HEAD
This commit is contained in:
+7
-2
@@ -38,7 +38,10 @@ define('AUTH_CONFIRM_OK', 1);
|
||||
define('AUTH_CONFIRM_ALREADY', 2);
|
||||
define('AUTH_CONFIRM_ERROR', 3);
|
||||
|
||||
|
||||
# MDL-14055
|
||||
define('AUTH_REMOVEUSER_KEEP', 0);
|
||||
define('AUTH_REMOVEUSER_SUSPEND', 1);
|
||||
define('AUTH_REMOVEUSER_FULLDELETE', 2);
|
||||
|
||||
/**
|
||||
* Abstract authentication plugin.
|
||||
@@ -58,7 +61,9 @@ class auth_plugin_base {
|
||||
* The fields we can lock and update from/to external authentication backends
|
||||
*
|
||||
*/
|
||||
var $userfields = array("firstname", "lastname", "email", "phone1", "phone2", "institution", "department", "address", "city", "country", "description", "idnumber", "lang");
|
||||
var $userfields = array("firstname", "lastname", "email", "phone1", "phone2",
|
||||
"institution", "department", "address", "city", "country",
|
||||
"description", "idnumber", "lang");
|
||||
|
||||
/**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user