"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/admin/modules/user/groups.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

groups.php  (mybb_1822):groups.php  (mybb_1823)
skipping to change at line 1342 skipping to change at line 1342
$db->delete_query("moderators", "id='{$usergroup['gid']}' AND isg roup='1'"); $db->delete_query("moderators", "id='{$usergroup['gid']}' AND isg roup='1'");
$db->delete_query("groupleaders", "gid='{$usergroup['gid']}'"); $db->delete_query("groupleaders", "gid='{$usergroup['gid']}'");
$db->delete_query("usergroups", "gid='{$usergroup['gid']}'"); $db->delete_query("usergroups", "gid='{$usergroup['gid']}'");
$plugins->run_hooks("admin_user_groups_delete_commit_end"); $plugins->run_hooks("admin_user_groups_delete_commit_end");
$cache->update_groupleaders(); $cache->update_groupleaders();
$cache->update_moderators(); $cache->update_moderators();
$cache->update_usergroups(); $cache->update_usergroups();
$cache->update_forumpermissions(); $cache->update_forumpermissions();
$cache->update_banned();
// Log admin action // Log admin action
log_admin_action($usergroup['gid'], $usergroup['title']); log_admin_action($usergroup['gid'], $usergroup['title']);
flash_message($lang->success_group_deleted, 'success'); flash_message($lang->success_group_deleted, 'success');
admin_redirect("index.php?module=user-groups"); admin_redirect("index.php?module=user-groups");
} }
else else
{ {
$page->output_confirm_action("index.php?module=user-groups&ac tion=delete&gid={$usergroup['gid']}", $lang->confirm_group_deletion); $page->output_confirm_action("index.php?module=user-groups&ac tion=delete&gid={$usergroup['gid']}", $lang->confirm_group_deletion);
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)