mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
forgot to commit this fix
git-svn-id: file:///svn/phpbb/trunk@6590 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c9cd0e1d91
commit
db8e586893
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ class acp_disallow
|
||||||
$sql = 'INSERT INTO ' . DISALLOW_TABLE . ' ' . $db->sql_build_array('INSERT', array('disallow_username' => $disallowed_user));
|
$sql = 'INSERT INTO ' . DISALLOW_TABLE . ' ' . $db->sql_build_array('INSERT', array('disallow_username' => $disallowed_user));
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
|
|
||||||
$cache->destroy('disallowed_usernames');
|
$cache->destroy('_disallowed_usernames');
|
||||||
|
|
||||||
$message = $user->lang['DISALLOW_SUCCESSFUL'];
|
$message = $user->lang['DISALLOW_SUCCESSFUL'];
|
||||||
add_log('admin', 'LOG_DISALLOW_ADD', str_replace('%', '*', $disallowed_user));
|
add_log('admin', 'LOG_DISALLOW_ADD', str_replace('%', '*', $disallowed_user));
|
||||||
|
@ -63,7 +63,7 @@ class acp_disallow
|
||||||
WHERE disallow_id = ' . $disallowed_id;
|
WHERE disallow_id = ' . $disallowed_id;
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
|
|
||||||
$cache->destroy('disallowed_usernames');
|
$cache->destroy('_disallowed_usernames');
|
||||||
|
|
||||||
add_log('admin', 'LOG_DISALLOW_DELETE');
|
add_log('admin', 'LOG_DISALLOW_DELETE');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue