Changeset 808 for trunk/admin.php


Ignore:
Timestamp:
Aug 8, 2005, 10:52:19 PM (19 years ago)
Author:
plg
Message:
  • new : external authentication in another users table. Previous users table is divided between users (common properties with any web application) and user_infos (phpwebgallery specific informations). External table and fields can be configured.
  • modification : profile.php is not reachable through administration anymore (not useful).
  • modification : in profile.php, current password is mandatory only if user tries to change his password. Username can't be changed.
  • deletion : of obsolete functions get_user_restrictions, update_user_restrictions, get_user_all_restrictions, is_user_allowed, update_user
  • modification : user_forbidden table becomes user_cache so that not only restriction informations can be stored in this table.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r800 r808  
    3131include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
    3232include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' );
     33
     34// +-----------------------------------------------------------------------+
     35// |                    synchronize user informations                      |
     36// +-----------------------------------------------------------------------+
     37
     38sync_users();
     39
    3340//--------------------------------------- validating page and creation of title
    3441$page_valide = false;
     
    324331// +-----------------------------------------------------------------------+
    325332$query = '
    326 UPDATE '.USER_FORBIDDEN_TABLE.'
     333UPDATE '.USER_CACHE_TABLE.'
    327334  SET need_update = \'true\'
    328335;';
Note: See TracChangeset for help on using the changeset viewer.