diff options
author | plegall <plg@piwigo.org> | 2005-09-17 22:22:22 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-09-17 22:22:22 +0000 |
commit | 60fc8c061adbad349c3a0a365f46b37ba8339cd2 (patch) | |
tree | 3a6e3ec512b48af64d7c0b9b5c98f780640984fa /include/functions_user.inc.php | |
parent | 518569483b2f814c6915e4f13aa5bb32a67df872 (diff) |
- improvement: add information about how to use an external table for users
- bug fixed: uses user configuration fields for filtering in admin/user_list
- bug fixed: don't try to create feeds automatically during sync_users (when
line in user_infos is missing)
- bug fixed: create_user_infos function gives status admin if user id
matches $conf['webmaster_id']
git-svn-id: http://piwigo.org/svn/trunk@865 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r-- | include/functions_user.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index b669a61bc..41321a587 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -454,7 +454,7 @@ function create_user_infos($user_id) $insert = array( 'user_id' => $user_id, - 'status' => 'guest', + 'status' => $user_id == $conf['webmaster_id'] ? 'admin' : 'guest', 'template' => $conf['default_template'], 'nb_image_line' => $conf['nb_image_line'], 'nb_line_page' => $conf['nb_line_page'], |