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

View file

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

View file

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

View file

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

View file

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