]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_confirm.php
Update function calls
[friendica.git] / mod / dfrn_confirm.php
index 0f001b11a294e9069f562368b458d11976488b5d..449a39cbbe6803807ff3a8cd3f8cbf83b2c7c4dd 100644 (file)
@@ -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);