aboutsummaryrefslogtreecommitdiffstats
path: root/admin/site_update.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/site_update.php')
-rw-r--r--admin/site_update.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/admin/site_update.php b/admin/site_update.php
index a42139e92..c6cc69f03 100644
--- a/admin/site_update.php
+++ b/admin/site_update.php
@@ -890,11 +890,7 @@ else
$cat_selected = array();
}
-$tpl_introduction['privacy_level_options']=array();
-foreach ($conf['available_permission_levels'] as $level)
-{
- $tpl_introduction['privacy_level_options'][$level] = l10n( sprintf('Level %d', $level) );
-}
+$tpl_introduction['privacy_level_options'] = get_privacy_level_options();
$template->assign('introduction', $tpl_introduction);