From 69a1e4f7b1a601041a2f36c6c99ed410d663ab34 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 25 Nov 2015 02:52:59 -0500
Subject: [PATCH] rcube_parse_host() -> rcube_utils::parse_host()
---
installer/test.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/installer/test.php b/installer/test.php
index bb76482..237e8df 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -246,7 +246,7 @@
<h3>Test SMTP config</h3>
<p>
-Server: <?php echo rcube_parse_host($RCI->getprop('smtp_server', 'PHP mail()')); ?><br />
+Server: <?php echo rcube_utils::parse_host($RCI->getprop('smtp_server', 'PHP mail()')); ?><br />
Port: <?php echo $RCI->getprop('smtp_port'); ?><br />
<?php
@@ -310,7 +310,7 @@
$send_headers = $mail_object->headers($headers);
$SMTP = new rcube_smtp();
- $SMTP->connect(rcube_parse_host($RCI->getprop('smtp_server')),
+ $SMTP->connect(rcube_utils::parse_host($RCI->getprop('smtp_server')),
$RCI->getprop('smtp_port'), $CONFIG['smtp_user'], $CONFIG['smtp_pass']);
$status = $SMTP->send_mail($headers['From'], $headers['To'],
--
Gitblit v1.9.1