aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-12-17 18:06:39 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-12-17 18:06:39 +0000
commitf50d52588cc94543ac3aa313c8d8d71eca801557 (patch)
treece1d71dc5c99148c1862fc725214917a2c35f3d8 /phpBB/includes/functions_messenger.php
parente84d85d88cc5a88854a50bf025d766726c030f2a (diff)
downloadforums-f50d52588cc94543ac3aa313c8d8d71eca801557.tar
forums-f50d52588cc94543ac3aa313c8d8d71eca801557.tar.gz
forums-f50d52588cc94543ac3aa313c8d8d71eca801557.tar.bz2
forums-f50d52588cc94543ac3aa313c8d8d71eca801557.tar.xz
forums-f50d52588cc94543ac3aa313c8d8d71eca801557.zip
- we need at least 4.3.3, "phpversion() < '4.3'" will always be false
git-svn-id: file:///svn/phpbb/trunk@6778 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index b6af4ef12f..7296a8c283 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -26,15 +26,6 @@ class messenger
*/
function messenger($use_queue = true)
{
- global $config;
-
- if (preg_match('#^[c-z]:\\\#i', getenv('PATH')) && !$config['smtp_delivery'] && phpversion() < '4.3')
- {
- // We are running on windows, force delivery to use our smtp functions since php's are broken by default
- $config['smtp_delivery'] = 1;
- $config['smtp_host'] = @ini_get('SMTP');
- }
-
$this->use_queue = $use_queue;
$this->subject = '';
}