]> git.mxchange.org Git - friendica.git/commitdiff
Add missing Friendica\DI namespace to files (PHPStorm inspection)
authornupplaPhil <admin@philipp.info>
Sun, 19 Jan 2020 20:26:42 +0000 (21:26 +0100)
committernupplaPhil <admin@philipp.info>
Sun, 19 Jan 2020 20:26:42 +0000 (21:26 +0100)
17 files changed:
mod/dfrn_notify.php
mod/worker.php
src/Api/Entity/Mastodon/Stats.php
src/Database/PostUpdate.php
src/Model/APContact.php
src/Model/GServer.php
src/Module/Contact/Hovercard.php
src/Network/FKOAuthDataStore.php
src/Protocol/PortableContact.php
src/Util/Crypto.php
src/Util/HTTPSignature.php
src/Worker/CheckVersion.php
src/Worker/DBClean.php
src/Worker/Directory.php
src/Worker/UpdateGContacts.php
src/Worker/UpdateServerDirectories.php
view/theme/frio/php/standard.php

index a228f18a76d77dd766f3636dbe59342919be8a6a..36e520c0d2c36a49057030a9af64a83facd670cf 100644 (file)
@@ -11,6 +11,7 @@ use Friendica\Core\Config;
 use Friendica\Core\Logger;
 use Friendica\Core\System;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Model\Contact;
 use Friendica\Model\User;
 use Friendica\Protocol\DFRN;
index d14f642bf99fcd34060d10677c5d014b7bd08f56..5c291ad0bafaec48c5f678ba1f6ddc66fb739c5d 100644 (file)
@@ -8,6 +8,7 @@ use Friendica\Core\Config;
 use Friendica\Core\Logger;
 use Friendica\Core\Worker;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Util\DateTimeFormat;
 
 function worker_init()
index c1661d592117c60ca1de9feecafbdb1a883478e9..72a2849acace8031035f8e05b3b120fdb02d1e9f 100644 (file)
@@ -6,6 +6,7 @@ use Friendica\Api\BaseEntity;
 use Friendica\Core\Config;
 use Friendica\Core\Protocol;
 use Friendica\Database\DBA;
+use Friendica\DI;
 
 /**
  * Class Stats
index 863e823a1389d723e1234011dd68d0c0850f6fa6..44e203ab49a4d045f23a187233cd06f0ca337017 100644 (file)
@@ -7,6 +7,7 @@ namespace Friendica\Database;
 use Friendica\Core\Config;
 use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
+use Friendica\DI;
 use Friendica\Model\Contact;
 use Friendica\Model\Item;
 use Friendica\Model\ItemURI;
index 5af57e69fc325a46afe735aba42f4d0e274ec53c..2296205d3c15973bfa8d9defadc466667a2d230f 100644 (file)
@@ -10,6 +10,7 @@ use Friendica\Content\Text\HTML;
 use Friendica\Core\Logger;
 use Friendica\Core\Config;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Protocol\ActivityPub;
 use Friendica\Util\Network;
 use Friendica\Util\JsonLD;
index 7bb9efaffcbeb5ee9004ac0e42587c3209f3b7b7..34bb8559c6cc6cbb7f7377853184ada02869066a 100644 (file)
@@ -12,6 +12,7 @@ use Friendica\Core\Config;
 use Friendica\Core\Protocol;
 use Friendica\Core\Worker;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Module\Register;
 use Friendica\Network\CurlResult;
 use Friendica\Util\Network;
index b9cfabd962fb410261b7a8285176c3844c399a1d..48854136b3140b01171b673e870e25194d0e8bf2 100644 (file)
@@ -7,6 +7,7 @@ use Friendica\Core\Config;
 use Friendica\Core\Renderer;
 use Friendica\Core\Session;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Model\Contact;
 use Friendica\Model\GContact;
 use Friendica\Network\HTTPException;
index ff6a1e21657652b5b0ab4cc6c2d260abfb689159..ff639adf27588bc266959f12fdca22d03ff981f0 100644 (file)
@@ -12,6 +12,7 @@ namespace Friendica\Network;
 use Friendica\Core\Config;
 use Friendica\Core\Logger;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Util\Strings;
 use OAuthConsumer;
 use OAuthDataStore;
index 304e95e143177b8847f1ae3b48d52b1cd500ff59..138c39f5a70ba7d0746d8fc0373cc5244d6c355a 100644 (file)
@@ -18,6 +18,7 @@ use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
 use Friendica\Core\Worker;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Model\Contact;
 use Friendica\Model\GContact;
 use Friendica\Model\GServer;
index b5a0ef72f8e300bb15b34162f93025c550a44e14..628b45f89b6c19b59896a1e3a78684aa3551939e 100644 (file)
@@ -10,6 +10,7 @@ use Friendica\Core\Config;
 use Friendica\Core\Hook;
 use Friendica\Core\Logger;
 use Friendica\Core\System;
+use Friendica\DI;
 
 /**
  * Crypto class
index 7db3966d0a32ae5952c305714f9c7658a1dba1e8..48ed2846e8c69785c046dbe461adc56d917e2ac4 100644 (file)
@@ -8,6 +8,7 @@ namespace Friendica\Util;
 use Friendica\Database\DBA;
 use Friendica\Core\Config;
 use Friendica\Core\Logger;
+use Friendica\DI;
 use Friendica\Model\User;
 use Friendica\Model\APContact;
 
index a25651523cf176ff0282d2733d8c3310d516da7d..4ece4cb9b325d3c12699d7ca27f9d418ba0cc2e7 100644 (file)
@@ -10,6 +10,7 @@ namespace Friendica\Worker;
 use Friendica\Core\Config;
 use Friendica\Core\Logger;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Util\Network;
 
 /**
index 60f0e64c427c2da4ad669cfab7af73556cc5c3b3..402a70d06f34a688be36e2a4de8c85dcc5637410 100644 (file)
@@ -10,6 +10,7 @@ use Friendica\Core\Config;
 use Friendica\Core\Logger;
 use Friendica\Core\Worker;
 use Friendica\Database\DBA;
+use Friendica\DI;
 
 class DBClean {
        public static function execute($stage = 0) {
index 4bba9ca58359751b7ae4918811942eaf1cc28e40..88a11a321c8d989872c09dd7b1a2c1db76643025 100644 (file)
@@ -11,6 +11,7 @@ use Friendica\Core\Hook;
 use Friendica\Core\Logger;
 use Friendica\Core\Worker;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Util\Network;
 
 class Directory
index 9283257c3057a505cfb9ed6103363053fc3a4cef..98ec56c48483623357f4962257dfc0f78309b7ac 100644 (file)
@@ -9,6 +9,7 @@ use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
 use Friendica\Core\Worker;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Model\GContact;
 use Friendica\Model\GServer;
 use Friendica\Util\DateTimeFormat;
index 365a997e38cad70912bcd5fadd0a4623c86d6a56..b6b4cb7b349d9b311e57cb1c438656d1d421fe22 100644 (file)
@@ -6,6 +6,7 @@ namespace Friendica\Worker;
 
 use Friendica\Core\Config;
 use Friendica\Core\Logger;
+use Friendica\DI;
 use Friendica\Model\GContact;
 use Friendica\Model\GServer;
 use Friendica\Protocol\PortableContact;
index 6a24944d18d9c19f738efd9b5489f9c23eeba5c8..a48c76dd9a5397fbd71118947afef554f9345f78 100644 (file)
@@ -21,8 +21,8 @@
 <a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
 <?php
        if(!empty($page['nav'])) {
-       echo    str_replace("~config.sitename~",Friendica\Core\DI::config()->get('config','sitename'),
-                       str_replace("~system.banner~",Friendica\Core\DI::config()->get('system','banner'),
+       echo    str_replace("~config.sitename~",Friendica\DI::config()->get('config','sitename'),
+                       str_replace("~system.banner~",Friendica\DI::config()->get('system','banner'),
                        $page['nav']
        ));};
 ?>