Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: admin_permissions.php 3977 2008-07-04 02:30:42Z Tikitiki $
| * $Id: admin_permissions.php 4119 2008-08-16 01:00:23Z Tikitiki $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 79 | Zeile 79 |
---|
$plugins->run_hooks("admin_user_admin_permissions_delete_commit");
|
$plugins->run_hooks("admin_user_admin_permissions_delete_commit");
|
$user = get_user($uid);
| |
// Log admin action
|
// Log admin action
|
log_admin_action($uid, $user['username']);
| if($uid < 0) { $query = $db->simple_select("usergroups", "title", "gid='$gid'"); $group = $db->fetch_array($query); log_admin_action($uid, $group['title']); } elseif($uid == 0) { // Default log_admin_action(0, $lang->default); } else { $user = get_user($uid); log_admin_action($uid, $user['username']); }
|
flash_message($lang->success_perms_deleted, 'success'); admin_redirect("index.php?module=user/admin_permissions");
| flash_message($lang->success_perms_deleted, 'success'); admin_redirect("index.php?module=user/admin_permissions");
|