mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
Review update
Rename function, move others
This commit is contained in:
parent
0f1be37279
commit
f04d40a37e
55 changed files with 331 additions and 326 deletions
|
@ -13,7 +13,7 @@ use Friendica\Core\System;
|
|||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/html2plain.php';
|
||||
|
@ -338,7 +338,7 @@ class NotificationsManager extends BaseObject
|
|||
|
||||
case ACTIVITY_FRIEND:
|
||||
$xmlhead = "<" . "?xml version='1.0' encoding='UTF-8' ?" . ">";
|
||||
$obj = Network::parseXmlString($xmlhead . $it['object']);
|
||||
$obj = XML::parseString($xmlhead . $it['object']);
|
||||
$it['fname'] = $obj->title;
|
||||
|
||||
$notif = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue