Changeset 631 for trunk/admin/group_list.php
- Timestamp:
- Dec 3, 2004, 5:30:12 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/group_list.php
r623 r631 35 35 if ( isset( $_POST['delete'] ) && isset( $_POST['confirm_delete'] ) ) 36 36 { 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 37 44 $query = 'DELETE FROM ' . USER_GROUP_TABLE; 38 45 $query.= ' WHERE group_id = '.$_POST['group_id']; 39 46 pwg_query( $query ); 40 47 48 // destruction of the group 41 49 $query = 'DELETE FROM ' . GROUPS_TABLE; 42 50 $query.= ' WHERE id = '.$_POST['group_id'];
Note: See TracChangeset
for help on using the changeset viewer.