From: Michael Date: Tue, 17 May 2022 21:26:35 +0000 (+0000) Subject: Add missing DI X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4e9d7df31adac776af294cd67d28214c43ec2ecf;p=friendica.git Add missing DI --- diff --git a/src/Module/Admin/PhpInfo.php b/src/Module/Admin/PhpInfo.php index 732753b593..feaa9de237 100644 --- a/src/Module/Admin/PhpInfo.php +++ b/src/Module/Admin/PhpInfo.php @@ -21,6 +21,7 @@ namespace Friendica\Module\Admin; +use Friendica\DI; use Friendica\Module\BaseAdmin; class PhpInfo extends BaseAdmin diff --git a/src/Module/RobotsTxt.php b/src/Module/RobotsTxt.php index e4b1af7abe..afc8ebf8f0 100644 --- a/src/Module/RobotsTxt.php +++ b/src/Module/RobotsTxt.php @@ -22,6 +22,7 @@ namespace Friendica\Module; use Friendica\BaseModule; +use Friendica\DI; /** * Return the default robots.txt diff --git a/src/Module/ThemeDetails.php b/src/Module/ThemeDetails.php index 1bd45913a6..c69c93b03f 100644 --- a/src/Module/ThemeDetails.php +++ b/src/Module/ThemeDetails.php @@ -24,6 +24,7 @@ namespace Friendica\Module; use Friendica\BaseModule; use Friendica\Core\System; use Friendica\Core\Theme; +use Friendica\DI; /** * Prints theme specific details as a JSON string