MDL-14055 auth sync constants, needed for sync cleanup - backporting from HEAD

This commit is contained in:
skodak
2008-04-26 13:47:30 +00:00
parent e8da9c41f0
commit ee90562005
+7 -2
View File
@@ -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");
/**