Browse Source

Update namespace use calls in mod/

pull/6482/head
Hypolite Petovan 2 years ago
parent
commit
14e4ab544a
23 changed files with 3 additions and 31 deletions
  1. +0
    -2
      mod/amcd.php
  2. +0
    -1
      mod/api.php
  3. +0
    -1
      mod/cal.php
  4. +1
    -1
      mod/credits.php
  5. +0
    -1
      mod/delegate.php
  6. +0
    -2
      mod/fetch.php
  7. +0
    -1
      mod/filerm.php
  8. +0
    -1
      mod/follow.php
  9. +0
    -2
      mod/group.php
  10. +0
    -1
      mod/ignored.php
  11. +0
    -3
      mod/invite.php
  12. +0
    -1
      mod/like.php
  13. +0
    -5
      mod/nogroup.php
  14. +0
    -1
      mod/notice.php
  15. +0
    -1
      mod/openid.php
  16. +1
    -0
      mod/profile.php
  17. +0
    -1
      mod/profile_photo.php
  18. +0
    -2
      mod/randprof.php
  19. +0
    -1
      mod/redir.php
  20. +0
    -1
      mod/removeme.php
  21. +0
    -1
      mod/search.php
  22. +0
    -1
      mod/starred.php
  23. +1
    -0
      src/Core/Renderer.php

+ 0
- 2
mod/amcd.php View File

@ -1,7 +1,5 @@
<?php
use Friendica\App;
function amcd_content()
{
echo <<< JSON


+ 0
- 1
mod/api.php View File

@ -6,7 +6,6 @@ use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\Renderer;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Module\Login;


+ 0
- 1
mod/cal.php View File

@ -23,7 +23,6 @@ use Friendica\Model\Profile;
use Friendica\Protocol\DFRN;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Temporal;
use Friendica\Util\Security;
function cal_init(App $a)
{


+ 1
- 1
mod/credits.php View File

@ -5,7 +5,7 @@
* (only contributors to the git repositories for friendica core and the
* addons repository will be listed though ATM)
*/
use Friendica\App;
use Friendica\Core\L10n;
use Friendica\Core\Renderer;


+ 0
- 1
mod/delegate.php View File

@ -11,7 +11,6 @@ use Friendica\Core\Renderer;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Model\User;
use Friendica\Util\Security;
use Friendica\Util\Strings;
require_once 'mod/settings.php';


+ 0
- 2
mod/fetch.php View File

@ -4,14 +4,12 @@ This file is part of the Diaspora protocol. It is used for fetching single publi
*/
use Friendica\App;
use Friendica\Core\L10n;
use Friendica\Core\Protocol;
use Friendica\Core\System;
use Friendica\Protocol\Diaspora;
use Friendica\Model\Item;
use Friendica\Model\User;
use Friendica\Util\Strings;
use Friendica\Util\XML;
use Friendica\Database\DBA;
function fetch_init(App $a)


+ 0
- 1
mod/filerm.php View File

@ -2,7 +2,6 @@
use Friendica\App;
use Friendica\Core\Logger;
use Friendica\Core\System;
use Friendica\Model\FileTag;
use Friendica\Util\XML;


+ 0
- 1
mod/follow.php View File

@ -12,7 +12,6 @@ use Friendica\Model\Contact;
use Friendica\Model\Profile;
use Friendica\Network\Probe;
use Friendica\Database\DBA;
use Friendica\Util\Proxy as ProxyUtils;
use Friendica\Util\Strings;
function follow_post(App $a)


+ 0
- 2
mod/group.php View File

@ -11,11 +11,9 @@ use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Core\Renderer;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Model;
use Friendica\Module;
use Friendica\Util\Security;
use Friendica\Util\Strings;
function group_init(App $a) {


+ 0
- 1
mod/ignored.php View File

@ -1,7 +1,6 @@
<?php
use Friendica\App;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Model\Item;


+ 0
- 3
mod/invite.php View File

@ -13,10 +13,7 @@ use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Core\Renderer;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Protocol\Email;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Security;
use Friendica\Util\Strings;
function invite_post(App $a)


+ 0
- 1
mod/like.php View File

@ -1,7 +1,6 @@
<?php
use Friendica\App;
use Friendica\Core\System;
use Friendica\Model\Item;
use Friendica\Util\Strings;


+ 0
- 5
mod/nogroup.php View File

@ -3,12 +3,7 @@
* @file mod/nogroup.php
*/
use Friendica\App;
use Friendica\Content\ContactSelector;
use Friendica\Core\L10n;
use Friendica\Database\DBA;
use Friendica\Model\Contact;
use Friendica\Model\Group;
use Friendica\Core\System;
function nogroup_init(App $a)
{


+ 0
- 1
mod/notice.php View File

@ -6,7 +6,6 @@
use Friendica\App;
use Friendica\Core\L10n;
use Friendica\Core\System;
use Friendica\Database\DBA;
function notice_init(App $a)


+ 0
- 1
mod/openid.php View File

@ -8,7 +8,6 @@ use Friendica\Core\Authentication;
use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Util\Strings;


+ 1
- 0
mod/profile.php View File

@ -11,6 +11,7 @@ use Friendica\Core\ACL;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\PConfig;
use Friendica\Core\System;
use Friendica\Database\DBA;


+ 0
- 1
mod/profile_photo.php View File

@ -15,7 +15,6 @@ use Friendica\Model\Contact;
use Friendica\Model\Photo;
use Friendica\Model\Profile;
use Friendica\Object\Image;
use Friendica\Util\Security;
use Friendica\Util\Strings;
function profile_photo_init(App $a)


+ 0
- 2
mod/randprof.php View File

@ -3,10 +3,8 @@
* @file mod/randprof.php
*/
use Friendica\App;
use Friendica\Core\System;
use Friendica\Model\Contact;
use Friendica\Model\GContact;
use Friendica\Model\Profile;
function randprof_init(App $a)
{


+ 0
- 1
mod/redir.php View File

@ -3,7 +3,6 @@
use Friendica\App;
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\Protocol;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Model\Contact;


+ 0
- 1
mod/removeme.php View File

@ -7,7 +7,6 @@ use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\Renderer;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Model\User;
use Friendica\Util\Strings;


+ 0
- 1
mod/search.php View File

@ -4,7 +4,6 @@
*/
use Friendica\App;
use Friendica\Content\Feature;
use Friendica\Content\Nav;
use Friendica\Content\Pager;
use Friendica\Content\Text\HTML;


+ 0
- 1
mod/starred.php View File

@ -3,7 +3,6 @@
* @file mod/starred.php
*/
use Friendica\App;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Model\Item;


+ 1
- 0
src/Core/Renderer.php View File

@ -8,6 +8,7 @@ namespace Friendica\Core;
use Exception;
use Friendica\BaseObject;
use Friendica\Render\FriendicaSmarty;
use Friendica\Render\ITemplateEngine;
/**
* @brief This class handles Renderer related functions.


Loading…
Cancel
Save