Move ParseUrl to Util namespace

This commit is contained in:
Hypolite Petovan 2018-01-04 12:03:15 -05:00
parent d416243964
commit 1f805da94f
5 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,6 @@
* @file include/items.php
*/
use Friendica\App;
use Friendica\ParseUrl;
use Friendica\Content\Feature;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
@ -18,6 +17,7 @@ use Friendica\Object\Image;
use Friendica\Protocol\DFRN;
use Friendica\Protocol\OStatus;
use Friendica\Protocol\Feed;
use Friendica\Util\ParseUrl;
require_once 'include/bbcode.php';
require_once 'include/tags.php';

View File

@ -3,9 +3,9 @@
* @file include/plaintext.php
*/
use Friendica\App;
use Friendica\ParseUrl;
use Friendica\Core\PConfig;
use Friendica\Object\Image;
use Friendica\Util\ParseUrl;
require_once "include/bbcode.php";
require_once "include/html2plain.php";

View File

@ -11,7 +11,7 @@
*/
use Friendica\App;
use Friendica\ParseUrl;
use Friendica\Util\ParseUrl;
require_once("include/items.php");

View File

@ -10,7 +10,7 @@ use Friendica\Core\Cache;
use Friendica\Core\System;
use Friendica\Core\Config;
use Friendica\Database\DBM;
use Friendica\ParseUrl;
use Friendica\Util\ParseUrl;
use dba;
use DOMDocument;
use DOMXPath;

View File

@ -1,9 +1,9 @@
<?php
/**
* @file include/ParseUrl.php
* @file src/Util/ParseUrl.php
* @brief Get informations about a given URL
*/
namespace Friendica;
namespace Friendica\Util;
use Friendica\Content\OEmbed;
use Friendica\Object\Image;