From a72e6cc113656aa343c2bc738fba9e617a262d80 Mon Sep 17 00:00:00 2001
From: Frank Karlitschek <frank@owncloud.org>
Date: Thu, 31 May 2012 21:28:58 +0200
Subject: [PATCH] fix oc-780

---
 config/config.sample.php | 2 +-
 lib/mail.php             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/config.sample.php b/config/config.sample.php
index e46c3cacd7..e86dc05cb0 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -22,7 +22,7 @@ $CONFIG = array(
 "appstoreurl" => "",
 "mail_smtpmode" => "sendmail",
 "mail_smtphost" => "127.0.0.1",
-"mail_smtpauth" => "false",
+"mail_smtpauth" => false,
 "mail_smtpname" => "",
 "mail_smtppassword" => "",
 "appcodechecker" => "",
diff --git a/lib/mail.php b/lib/mail.php
index 0045f8de6d..b46f73bd94 100644
--- a/lib/mail.php
+++ b/lib/mail.php
@@ -31,7 +31,7 @@ class OC_Mail {
 
 		$SMTPMODE = OC_Config::getValue( 'mail_smtpmode', 'sendmail' );
 		$SMTPHOST = OC_Config::getValue( 'mail_smtphost', '127.0.0.1' );
-		$SMTPAUTH = OC_Config::getValue( 'mail_smtpauth', 'false' ); 
+		$SMTPAUTH = OC_Config::getValue( 'mail_smtpauth', false ); 
 		$SMTPUSERNAME = OC_Config::getValue( 'mail_smtpname', '' ); 
 		$SMTPPASSWORD = OC_Config::getValue( 'mail_smtppassword', '' );  
 
-- 
GitLab