Ignore:
Timestamp:
Dec 3, 2004, 5:30:12 PM (19 years ago)
Author:
gweltas
Message:
  • User control panel update (user side)
  • User control panel update (admin side)
  • Add of registration link on the main page
  • Minor bug correction for group management
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/group_list.php

    r623 r631  
    3535if ( isset( $_POST['delete'] ) && isset( $_POST['confirm_delete'] )  )
    3636{
     37  // destruction of the access linked to the group
     38  $query = 'DELETE FROM '.GROUP_ACCESS_TABLE;
     39  $query.= ' WHERE group_id = '.$_POST['group_id'];
     40  $query.= ';';
     41  pwg_query( $query );
     42       
     43        // destruction of the users links for this group
    3744  $query = 'DELETE FROM ' . USER_GROUP_TABLE;
    3845  $query.= ' WHERE group_id = '.$_POST['group_id'];
    3946        pwg_query( $query );
    4047       
     48        // destruction of the group
    4149        $query = 'DELETE FROM ' . GROUPS_TABLE;
    4250  $query.= ' WHERE id = '.$_POST['group_id'];
Note: See TracChangeset for help on using the changeset viewer.