Browse Source

Move Object\Profile to Model\Profile

pull/4036/head
Hypolite Petovan 4 years ago
parent
commit
6b60b89385
  1. 2
      mod/profiles.php
  2. 8
      src/Model/Profile.php
  3. 2
      src/Network/Probe.php
  4. 2
      src/Protocol/Diaspora.php
  5. 2
      src/Protocol/PortableContact.php

2
mod/profiles.php

@ -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) {

8
src/Object/Profile.php → src/Model/Profile.php

@ -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

2
src/Network/Probe.php

@ -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;

2
src/Protocol/Diaspora.php

@ -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;

2
src/Protocol/PortableContact.php

@ -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;

Loading…
Cancel
Save