* @param $autocreate bool True if user is being autocreated on login
* @public
*/
- function initUser( $user, $autocreate=false ) {
+ function initUser( &$user, $autocreate=false ) {
# Override this to do something.
}
function getCanonicalName( $username ) {
return $username;
}
+
+ /**
+ * Adds any functionality to a User object in context of the auth system
+ */
+ function setUserCallbacks( $user, &$callbacks ) {
+ return true;
+ }
}
-
-