Update function calls
update function calls to new class
This commit is contained in:
parent
97fcf23371
commit
748fb8b946
16 changed files with 114 additions and 110 deletions
|
@ -33,6 +33,7 @@ use Friendica\Protocol\ActivityPub;
|
|||
use Friendica\Util\Crypto;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\Strings;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
require_once 'include/enotify.php';
|
||||
|
@ -256,7 +257,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
|
|||
|
||||
$xml = XML::parseString($res);
|
||||
$status = (int) $xml->status;
|
||||
$message = XML::unescape($xml->message); // human readable text of what may have gone wrong.
|
||||
$message = Strings::unescape($xml->message); // human readable text of what may have gone wrong.
|
||||
switch ($status) {
|
||||
case 0:
|
||||
info(L10n::t("Confirmation completed successfully.") . EOL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue