diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-29 17:45:34 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-29 17:45:34 +0000 |
commit | bb939454231a9281b5dbb3242606c5008c904ed6 (patch) | |
tree | f0652a64b53cbae93861f87c55988f08998dea76 /phpBB/admin/admin_words.php | |
parent | bcd4581f7762de33512833cff82638831d3e68e5 (diff) | |
download | forums-bb939454231a9281b5dbb3242606c5008c904ed6.tar forums-bb939454231a9281b5dbb3242606c5008c904ed6.tar.gz forums-bb939454231a9281b5dbb3242606c5008c904ed6.tar.bz2 forums-bb939454231a9281b5dbb3242606c5008c904ed6.tar.xz forums-bb939454231a9281b5dbb3242606c5008c904ed6.zip |
Move logging functions, change name, add mode + lang var case changes
git-svn-id: file:///svn/phpbb/trunk@3401 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_words.php')
-rw-r--r-- | phpBB/admin/admin_words.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/admin/admin_words.php b/phpBB/admin/admin_words.php index fb92a75785..e8880e86d6 100644 --- a/phpBB/admin/admin_words.php +++ b/phpBB/admin/admin_words.php @@ -35,7 +35,6 @@ define('IN_PHPBB', 1); $phpbb_root_path = '../'; require($phpbb_root_path . 'extension.inc'); require('pagestart.' . $phpEx); -require_once($phpbb_root_path . 'includes/functions_admin.' . $phpEx); // Do we have forum admin permissions? if (!$auth->acl_get('a_words')) @@ -138,7 +137,7 @@ if ($mode != '') $cache->destroy('word_censors'); $log_action = ($word_id) ? 'log_edit_word' : 'log_add_word'; - add_admin_log($log_action, stripslashes($word)); + add_log('admin', $log_action, stripslashes($word)); $message = ($word_id) ? $user->lang['WORD_UPDATED'] : $user->lang['WORD_ADDED']; break; @@ -160,7 +159,7 @@ if ($mode != '') $cache->destroy('word_censors'); - add_admin_log('log_delete_word'); + add_log('admin', 'log_delete_word'); $message = $user->lang['WORD_REMOVE']; break; |