~ubuntu-branches/ubuntu/maverick/mahara/maverick-updates

« back to all changes in this revision

Viewing changes to htdocs/lib/group.php

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2008-09-29 13:00:12 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20080929130012-7swv3jiomgpsm4b8
Tags: 1.0.5-1
* New Upstream Version
* Fix comments in maintainer scripts (closes: #491924)
* Add lintian override for embedded copies of mochikit
* Bump debhelper compatibility to 7 to use dh_lintian

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
}
332
332
 
333
333
function delete_group($groupid) {
334
 
    update_record('group', array('deleted' => 1), array('id' => $groupid));
 
334
    update_record('group',
 
335
        array(
 
336
            'deleted' => 1,
 
337
            'name' => get_field('group', 'name', 'id', $groupid) . '.deleted.' . time(),
 
338
        ),
 
339
        array(
 
340
            'id' => $groupid,
 
341
        )
 
342
    );
335
343
}
336
344
 
337
345
/**