mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
Log function
implement log() function.
This commit is contained in:
parent
d6d593d724
commit
14fde5dc9b
122 changed files with 1280 additions and 1161 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue