Fix log write() parameters in wrong order

remotes/origin/stable45
Michael Gapczynski 13 years ago
parent 8afcddf44f
commit 281bf62af9
  1. 2
      lib/mail.php

@ -81,7 +81,7 @@ class OC_Mail {
$mailo->Send(); $mailo->Send();
unset($mailo); 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) { } catch (Exception $exception) {
OC_Log::write('mail', $exception->getMessage(), OC_Log::DEBUG); OC_Log::write('mail', $exception->getMessage(), OC_Log::DEBUG);
} }

Loading…
Cancel
Save