Skip to content
Snippets Groups Projects
Commit 281bf62a authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Fix log write() parameters in wrong order

parent 8afcddf4
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment