diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2004-08-04 19:18:00 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-08-04 19:18:00 +0000 |
commit | 07bc2e02316e40ec4004635ba760cab0553ea10c (patch) | |
tree | 3eefa6324967469d95dd3b4604b63347cc42c9bb /phpBB/includes/ucp/ucp_prefs.php | |
parent | 5dcc0a85f845a214712d015199b11ebddff14437 (diff) | |
download | forums-07bc2e02316e40ec4004635ba760cab0553ea10c.tar forums-07bc2e02316e40ec4004635ba760cab0553ea10c.tar.gz forums-07bc2e02316e40ec4004635ba760cab0553ea10c.tar.bz2 forums-07bc2e02316e40ec4004635ba760cab0553ea10c.tar.xz forums-07bc2e02316e40ec4004635ba760cab0553ea10c.zip |
- removing karma
git-svn-id: file:///svn/phpbb/trunk@4958 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_prefs.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_prefs.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php index 1275d39eaf..5d2eaf5e05 100644 --- a/phpBB/includes/ucp/ucp_prefs.php +++ b/phpBB/includes/ucp/ucp_prefs.php @@ -157,7 +157,6 @@ class ucp_prefs extends module 'sk' => (string) 't', 'sd' => (string) 'd', 'st' => 0, - 'minkarma' => (int) -5, 'images' => true, 'flash' => false, @@ -198,7 +197,6 @@ class ucp_prefs extends module 'user_sortby_type' => $sk, 'user_sortby_dir' => $sd, 'user_show_days' => $st, - 'user_min_karma' => $minkarma, ); $sql = 'UPDATE ' . USERS_TABLE . ' @@ -225,14 +223,6 @@ class ucp_prefs extends module $s_limit_days = $s_sort_key = $s_sort_dir = ''; gen_sort_selects($limit_days, $sort_by_text, $st, $sk, $sd, &$s_limit_days, &$s_sort_key, &$s_sort_dir); - $s_min_karma_options = ''; - $minkarma = (isset($minkarma)) ? $minkarma : $user->data['user_min_karma']; - for ($i = -5; $i < 6; $i++) - { - $selected = ($i == $minkarma) ? ' selected="selected"' : ''; - $s_min_karma_options .= "<option value=\"$i\"$selected>$i</option>"; - } - $images = (isset($images)) ? $images : $user->optionget('viewimg'); $images_yes = ($images) ? ' checked="checked"' : ''; $images_no = (!$images) ? ' checked="checked"' : ''; @@ -268,7 +258,6 @@ class ucp_prefs extends module 'DISABLE_CENSORS_YES' => $wordcensor_yes, 'DISABLE_CENSORS_NO' => $wordcensor_no, - 'S_MIN_KARMA_OPTIONS' => $s_min_karma_options, 'S_CHANGE_CENSORS' => ($auth->acl_get('u_chgcensors')) ? true : false, 'S_SELECT_SORT_DAYS' => $s_limit_days, 'S_SELECT_SORT_KEY' => $s_sort_key, |