summaryrefslogtreecommitdiffstats
path: root/lib/mail.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-11 15:41:59 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-11 15:56:18 -0400
commit281bf62af93e373d761b767af6cc316e4681d66a (patch)
treedea82f366fffd73ecf2c952ed9e4a848859a5d00 /lib/mail.php
parent8afcddf44fedc706108dc318c146a777ca2a4988 (diff)
downloadnextcloud-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.php2
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);
}