Changeset 2804

Show
Ignore:
Timestamp:
11/12/08 19:17:20 (2 months ago)
Author:
rickc
Message:

Actually save changes in group membership to the database.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/classes/usergroup.php

    r2737 r2804  
    177177        // List each group member exactly once 
    178178        $this->member_ids = array_unique($this->member_ids); 
     179        $this->update(); 
    179180 
    180181        EventLog::log( _t( 'User Group %1$s: Users were added to the group.', array( $this->name ) ), 'notice', 'user', 'habari' ); 
     
    192193        // Remove users from group membership 
    193194        $this->member_ids = array_diff( $this->member_ids, $users); 
     195        $this->update(); 
    194196 
    195197        EventLog::log( _t( 'User Group %1$s: Users were removed from the group.', array( $this->name ) ), 'notice', 'user', 'habari' );