]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix log write() parameters in wrong order
authorMichael Gapczynski <mtgap@owncloud.com>
Wed, 11 Jul 2012 19:41:59 +0000 (15:41 -0400)
committerMichael Gapczynski <mtgap@owncloud.com>
Wed, 11 Jul 2012 19:56:18 +0000 (15:56 -0400)
lib/mail.php

index 545b95da87d0ec79ecb45e7c837b7465c8440b9f..7eb2c4770c56545c727f786316b5972b51f2b7f9 100644 (file)
@@ -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);
                }