1
0
Fork 0

Class file relocations

Issue #3878
This commit is contained in:
Adam Magness 2017-11-07 22:57:46 -05:00
commit 4ca68c7af0
151 changed files with 987 additions and 8742 deletions

View file

@ -5,6 +5,7 @@
use Friendica\App;
use Friendica\Core\System;
use Friendica\Core\Worker;
use Friendica\Database\DBM;
function send_message($recipient=0, $body='', $subject='', $replyto=''){
@ -42,7 +43,7 @@ function send_message($recipient=0, $body='', $subject='', $replyto=''){
dbesc($replyto),
dbesc($replyto)
);
if (dbm::is_result($r))
if (DBM::is_result($r))
$convid = $r[0]['convid'];
}
@ -67,7 +68,7 @@ function send_message($recipient=0, $body='', $subject='', $replyto=''){
$r = dba::insert('conv', $fields);
$r = dba::select('conv', array('id'), array('guid' => $conv_guid, 'uid' => local_user()), array('limit' => 1));
if (dbm::is_result($r))
if (DBM::is_result($r))
$convid = $r['id'];
}
@ -106,7 +107,7 @@ function send_message($recipient=0, $body='', $subject='', $replyto=''){
dbesc($uri),
intval(local_user())
);
if (dbm::is_result($r))
if (DBM::is_result($r))
$post_id = $r[0]['id'];
/**
@ -191,7 +192,7 @@ function send_wallmessage($recipient='', $body='', $subject='', $replyto=''){
$r = dba::insert('conv', $fields);
$r = dba::select('conv', array('id'), array('guid' => $conv_guid, 'uid' => $recipient['uid']), array('limit' => 1));
if (!dbm::is_result($r)) {
if (!DBM::is_result($r)) {
logger('send message: conversation not found.');
return -4;
}