diff --git a/panel/classes/Panel/Vhost/Vhosts.php b/panel/classes/Panel/Vhost/Vhosts.php index 9612efe..1dc7b23 100644 --- a/panel/classes/Panel/Vhost/Vhosts.php +++ b/panel/classes/Panel/Vhost/Vhosts.php @@ -36,26 +36,7 @@ class Vhosts extends \Panel\Vhost { $vhost_array = $f3->get('vhost_array'); /* convert data for frontend display */ - if ($vhost_array['status'] == 1) { - $vhost_array['status'] = 'Enabled'; - } else { - $vhost_array['status'] = 'Disabled'; - } - if ($vhost_array['mbox_limit'] == "NULL") { - $vhost_array['mbox_limit'] = 'Unlimited'; - } - - if ($vhost_array['mbox_quota_default'] == "NULL") { - $vhost_array['mbox_quota_default'] = 'Unlimited'; - } else { - $vhost_array['mbox_quota_default'] .= ' GB'; - } - - if ($vhost_array['mbox_ratelimit_default'] == "NULL") { - $vhost_array['mbox_ratelimit_default'] = 'Unlimited'; - } else { - $vhost_array['mbox_ratelimit_default'] .= ' emails per hour'; - } + // nothing to convert $f3->set('vhost_array', $vhost_array);