Update functions and calls
Update functions and calls.
This commit is contained in:
parent
d5623d28d5
commit
b3e6a1d283
4 changed files with 74 additions and 66 deletions
|
|
@ -5,10 +5,9 @@
|
|||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Mail;
|
||||
use Friendica\Model\Profile;
|
||||
|
||||
require_once 'include/message.php';
|
||||
|
||||
function wallmessage_post(App $a) {
|
||||
|
||||
$replyto = Profile::getMyURL();
|
||||
|
|
@ -50,7 +49,7 @@ function wallmessage_post(App $a) {
|
|||
return;
|
||||
}
|
||||
|
||||
$ret = send_wallmessage($user, $body, $subject, $replyto);
|
||||
$ret = Mail::sendWall($user, $body, $subject, $replyto);
|
||||
|
||||
switch($ret){
|
||||
case -1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue