diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-11 15:41:59 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-11 15:56:18 -0400 |
commit | 281bf62af93e373d761b767af6cc316e4681d66a (patch) | |
tree | dea82f366fffd73ecf2c952ed9e4a848859a5d00 /lib/mail.php | |
parent | 8afcddf44fedc706108dc318c146a777ca2a4988 (diff) | |
download | nextcloud-server-281bf62af93e373d761b767af6cc316e4681d66a.tar.gz nextcloud-server-281bf62af93e373d761b767af6cc316e4681d66a.zip |
Fix log write() parameters in wrong order
Diffstat (limited to 'lib/mail.php')
-rw-r--r-- | lib/mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail.php b/lib/mail.php index 545b95da87d..7eb2c4770c5 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -81,7 +81,7 @@ class OC_Mail { $mailo->Send(); unset($mailo); - OC_Log::write('Mail from '.$fromname.' ('.$fromaddress.')'.' to: '.$toname.'('.$toaddress.')'.' subject: '.$subject,'mail',OC_Log::DEBUG); + OC_Log::write('mail', 'Mail from '.$fromname.' ('.$fromaddress.')'.' to: '.$toname.'('.$toaddress.')'.' subject: '.$subject, OC_Log::DEBUG); } catch (Exception $exception) { OC_Log::write('mail', $exception->getMessage(), OC_Log::DEBUG); } |