From 0c59bbe15a2c6014da971806c1d447d30ea8d8ab Mon Sep 17 00:00:00 2001 From: pdontthink Date: Wed, 9 Nov 2005 18:34:58 +0000 Subject: [PATCH] Spelling fix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10298 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/arrays.php | 8 ++++---- src/compose.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/functions/arrays.php b/functions/arrays.php index 30df6f14..922a85bc 100644 --- a/functions/arrays.php +++ b/functions/arrays.php @@ -40,7 +40,7 @@ * @param array $a (recursive) array * @param mixed $v value to move * @param int $p positions to move - * @return bool $succes + * @return bool $success * @author Marc Groot Koerkamp */ function sqm_array_kmove_value(&$a,$v,$p) { @@ -73,7 +73,7 @@ function sqm_array_kmove_value(&$a,$v,$p) { * @param array $a (recursive) array * @param mixed $v value to move * @param int $p positions to move - * @return bool $succes + * @return bool $success * @author Marc Groot Koerkamp */ function sqm_array_move_value(&$a,$v,$p) { @@ -122,7 +122,7 @@ if (!function_exists('array_combine')) { * * @param array $aK array keys * @param array $aV array values - * @return mixed $r combined array on succes, false on failure + * @return mixed $r combined array on success, false on failure * @author Marc Groot Koerkamp */ function array_combine($aK, $aV) { @@ -138,4 +138,4 @@ if (!function_exists('array_combine')) { } return $r; } -} \ No newline at end of file +} diff --git a/src/compose.php b/src/compose.php index 2cc98bf7..b2888322 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1618,12 +1618,12 @@ function deliverMessage($composeMessage, $draft=false) { return false; } } - $succes = false; + $success = false; if ($stream) { $length = $deliver->mail($composeMessage, $stream); - $succes = $deliver->finalizeStream($stream); + $success = $deliver->finalizeStream($stream); } - if (!$succes) { + if (!$success) { $msg = $deliver->dlv_msg . '
' . _("Server replied:") . ' ' . $deliver->dlv_ret_nr . ' ' . $deliver->dlv_server_msg; @@ -1693,7 +1693,7 @@ function deliverMessage($composeMessage, $draft=false) { } sqimap_logout($imap_stream); } - return $succes; + return $success; } ?> -- 2.25.1