diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-06-01 21:57:29 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-06-01 21:57:29 +0000 |
commit | 4a28077f468f0a688cd70f3b43e5ffc242bcb49a (patch) | |
tree | 8913da6bf5a92e28d06f04db9635c1b93c4c8fe3 /modules/user.module | |
parent | 59082a5f19aded411f474fcd88220a06a02f06f4 (diff) | |
download | brdo-4a28077f468f0a688cd70f3b43e5ffc242bcb49a.tar.gz brdo-4a28077f468f0a688cd70f3b43e5ffc242bcb49a.tar.bz2 |
- adding descriptions to modules (thanks Joe + Scott).
- fixed comment flat list view missing 1 comment.
- changed update.php around a bit.
* security check isn't in effect if the db hasn't been updated.
* instructions re-organized.
* fixed some minor updates.
- updated database.mysql done by UnConeD.
- changelog update.
Diffstat (limited to 'modules/user.module')
-rw-r--r-- | modules/user.module | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module index d68b170cf..c3f869ca2 100644 --- a/modules/user.module +++ b/modules/user.module @@ -4,6 +4,11 @@ session_set_save_handler("sess_open", "sess_close", "sess_read", "sess_write", "sess_destroy", "sess_gc"); session_start(); +function user_system($field){ + $system["description"] = t("Enables a user registration system."); + return $system[$field]; +} + /*** Session functions *****************************************************/ function sess_open($save_path, $session_name) { @@ -709,7 +714,7 @@ function user_login($edit = array(), $msg = "") { ** When possible, determine corrosponding external auth source. Invoke source, and login user if successful: */ - if (!$user && $server && $result = user_get_authmaps("$name@$server")) { + if (!$user && $server && $result = user_get_authmaps("$name@$server")) { if (module_invoke(key($result), "auth", $name, $pass, $server)) { $user = user_external_load("$name@$server"); watchdog("user", "external load: $name@$server, module: " . key($result)); |