1
1
Fork 0

Move Object\Profile to Model\Profile

This commit is contained in:
Hypolite Petovan 2017-12-07 08:57:35 -05:00
parent 52bddd580c
commit d4ca30a6db
5 changed files with 7 additions and 9 deletions

View file

@ -10,8 +10,8 @@ use Friendica\Core\System;
use Friendica\Core\Worker;
use Friendica\Database\DBM;
use Friendica\Model\GlobalContact;
use Friendica\Model\Profile;
use Friendica\Network\Probe;
use Friendica\Object\Profile;
function profiles_init(App $a) {

View file

@ -1,14 +1,12 @@
<?php
/**
* @file src/Object/Profile.php
* @file src/Model/Profile.php
*/
namespace Friendica\Object;
namespace Friendica\Model;
use Friendica\BaseObject;
class Profile extends BaseObject
class Profile
{
/**
* @brief Returns a formatted location string from the given profile array

View file

@ -14,7 +14,7 @@ use Friendica\Core\System;
use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Database\DBM;
use Friendica\Object\Profile;
use Friendica\Model\Profile;
use Friendica\Protocol\Email;
use Friendica\Util\XML;

View file

@ -17,9 +17,9 @@ use Friendica\Core\PConfig;
use Friendica\Core\Worker;
use Friendica\Database\DBM;
use Friendica\Model\GlobalContact;
use Friendica\Model\Profile;
use Friendica\Network\Probe;
use Friendica\Object\Contact;
use Friendica\Object\Profile;
use Friendica\Util\XML;
use dba;

View file

@ -13,8 +13,8 @@ use Friendica\Core\Config;
use Friendica\Core\Worker;
use Friendica\Database\DBM;
use Friendica\Model\GlobalContact;
use Friendica\Model\Profile;
use Friendica\Network\Probe;
use Friendica\Object\Profile;
use dba;
use DOMDocument;
use DomXPath;