Add missing Friendica\DI namespace to files (PHPStorm inspection)
This commit is contained in:
parent
75143e27b5
commit
62d6f08fc1
|
@ -57,6 +57,7 @@
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\Hook;
|
use Friendica\Core\Hook;
|
||||||
use Friendica\Core\Logger;
|
use Friendica\Core\Logger;
|
||||||
|
use Friendica\DI;
|
||||||
use Friendica\Model\User;
|
use Friendica\Model\User;
|
||||||
use Friendica\Util\ConfigFileLoader;
|
use Friendica\Util\ConfigFileLoader;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\Hook;
|
use Friendica\Core\Hook;
|
||||||
use Friendica\Core\Logger;
|
use Friendica\Core\Logger;
|
||||||
|
use Friendica\DI;
|
||||||
use Friendica\Util\Network;
|
use Friendica\Util\Network;
|
||||||
|
|
||||||
function leistungsschutzrecht_install() {
|
function leistungsschutzrecht_install() {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\Logger;
|
use Friendica\Core\Logger;
|
||||||
|
use Friendica\DI;
|
||||||
|
|
||||||
function pumpio_sync_run(&$argv, &$argc) {
|
function pumpio_sync_run(&$argv, &$argc) {
|
||||||
$a = Friendica\DI::app();
|
$a = Friendica\DI::app();
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
|
use Friendica\DI;
|
||||||
|
|
||||||
require_once __DIR__ . DIRECTORY_SEPARATOR . 'twitteroauth.php';
|
require_once __DIR__ . DIRECTORY_SEPARATOR . 'twitteroauth.php';
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\Logger;
|
use Friendica\Core\Logger;
|
||||||
|
use Friendica\DI;
|
||||||
|
|
||||||
function twitter_sync_run($argv, $argc)
|
function twitter_sync_run($argv, $argc)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue