Zeile 41 | Zeile 41 |
---|
"dateline" => TIME_NOW ); $fid = $db->insert_query("banfilters", $new_filter);
|
"dateline" => TIME_NOW ); $fid = $db->insert_query("banfilters", $new_filter);
|
| $plugins->run_hooks("admin_config_banning_add_commit");
|
if($mybb->input['type'] == 1)
|
if($mybb->input['type'] == 1)
|
{
| {
|
$cache->update_bannedips();
|
$cache->update_bannedips();
|
}
| }
|
else if($mybb->input['type'] == 3) { $cache->update_bannedemails(); }
|
else if($mybb->input['type'] == 3) { $cache->update_bannedemails(); }
|
$plugins->run_hooks("admin_config_banning_add_commit");
| |
// Log admin action log_admin_action($fid, $mybb->input['filter'], $mybb->input['type']);
| // Log admin action log_admin_action($fid, $mybb->input['filter'], $mybb->input['type']);
|