Log function

implement log() function.
This commit is contained in:
Adam Magness 2018-10-29 17:20:46 -04:00
parent d6d593d724
commit 14fde5dc9b
122 changed files with 1280 additions and 1161 deletions

View file

@ -6,6 +6,7 @@
namespace Friendica\Model;
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\System;
use Friendica\Core\Worker;
use Friendica\Database\DBA;
@ -87,7 +88,7 @@ class Mail
}
if (!$convid) {
logger('send message: conversation not found.');
Logger::log('send message: conversation not found.');
return -4;
}
@ -200,7 +201,7 @@ class Mail
}
if (!$convid) {
logger('send message: conversation not found.');
Logger::log('send message: conversation not found.');
return -4;
}