Browse Source

Remove unneeded Config namespace usages

pull/948/head
nupplaPhil 2 years ago
parent
commit
65e4726718
No known key found for this signature in database GPG Key ID: D8365C3D36B77D90
  1. 1
      blackout/blackout.php
  2. 1
      blockbot/blockbot.php
  3. 1
      buffer/buffer.php
  4. 1
      catavatar/catavatar.php
  5. 1
      cookienotice/cookienotice.php
  6. 1
      curweather/curweather.php
  7. 1
      forumdirectory/forumdirectory.php
  8. 2
      geocoordinates/geocoordinates.php
  9. 1
      geonames/geonames.php
  10. 1
      gravatar/gravatar.php
  11. 1
      impressum/impressum.php
  12. 1
      irc/irc.php
  13. 1
      jappixmini/jappixmini.php
  14. 1
      js_upload/js_upload.php
  15. 1
      ldapauth/ldapauth.php
  16. 1
      leistungsschutzrecht/leistungsschutzrecht.php
  17. 1
      libravatar/libravatar.php
  18. 1
      mailstream/mailstream.php
  19. 1
      mastodoncustomemojis/mastodoncustomemojis.php
  20. 1
      newmemberwidget/newmemberwidget.php
  21. 1
      notifyall/notifyall.php
  22. 1
      openstreetmap/openstreetmap.php
  23. 1
      pageheader/pageheader.php
  24. 1
      phpmailer/phpmailer.php
  25. 1
      piwik/piwik.php
  26. 1
      public_server/public_server.php
  27. 1
      pumpio/pumpio.php
  28. 1
      pumpio/pumpio_sync.php
  29. 1
      remote_permissions/remote_permissions.php
  30. 1
      securemail/securemail.php
  31. 1
      statusnet/library/statusnetoauth.php
  32. 1
      statusnet/statusnet.php
  33. 1
      testdrive/testdrive.php
  34. 1
      tumblr/tumblr.php
  35. 1
      twitter/twitter.php
  36. 1
      twitter/twitter_sync.php
  37. 1
      webrtc/webrtc.php
  38. 1
      xmpp/xmpp.php

1
blackout/blackout.php

@ -44,7 +44,6 @@
* THE SOFTWARE.
*/
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
blockbot/blockbot.php

@ -9,7 +9,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\System;
use Friendica\DI;

1
buffer/buffer.php

@ -9,7 +9,6 @@
require 'addon/buffer/bufferapp.php';
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Protocol;

1
catavatar/catavatar.php

@ -7,7 +7,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
cookienotice/cookienotice.php

@ -8,7 +8,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Renderer;
use Friendica\DI;

1
curweather/curweather.php

@ -11,7 +11,6 @@
use Friendica\App;
use Friendica\Core\Cache\Duration;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Renderer;
use Friendica\Core\Session;

1
forumdirectory/forumdirectory.php

@ -10,7 +10,6 @@ use Friendica\App;
use Friendica\Content\Nav;
use Friendica\Content\Pager;
use Friendica\Content\Widget;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Renderer;
use Friendica\Database\DBA;

2
geocoordinates/geocoordinates.php

@ -5,8 +5,6 @@
* Version: 0.1
* Author: Michael Vogel <https://pirati.ca/profile/heluecht>
*/
use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
geonames/geonames.php

@ -7,7 +7,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
gravatar/gravatar.php

@ -8,7 +8,6 @@
use Friendica\App;
use Friendica\BaseModule;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
impressum/impressum.php

@ -8,7 +8,6 @@
*/
use Friendica\Content\Text\BBCode;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
irc/irc.php

@ -7,7 +7,6 @@
* Author: Tobias Diekershoff <https://f.diekershoff.de/u/tobias>
*/
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Renderer;
use Friendica\DI;

1
jappixmini/jappixmini.php

@ -63,7 +63,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Protocol;

1
js_upload/js_upload.php

@ -8,7 +8,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
ldapauth/ldapauth.php

@ -54,7 +54,6 @@
* ...etc.
*/
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\DI;

1
leistungsschutzrecht/leistungsschutzrecht.php

@ -5,7 +5,6 @@
* Version: 0.1
* Author: Michael Vogel <https://pirati.ca/profile/heluecht>
*/
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\DI;

1
libravatar/libravatar.php

@ -8,7 +8,6 @@
use Friendica\App;
use Friendica\BaseModule;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
mailstream/mailstream.php

@ -7,7 +7,6 @@
*/
use Friendica\Content\Text\BBCode;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
mastodoncustomemojis/mastodoncustomemojis.php

@ -12,7 +12,6 @@
use Friendica\App;
use Friendica\Content\Smilies;
use Friendica\Core\Cache\Duration;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Protocol;
use Friendica\DI;

1
newmemberwidget/newmemberwidget.php

@ -7,7 +7,6 @@
***/
use Friendica\Content\Text\BBCode;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
notifyall/notifyall.php

@ -10,7 +10,6 @@
use Friendica\App;
use Friendica\Content\Text\BBCode;
use Friendica\Core\Config;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
use Friendica\DI;

1
openstreetmap/openstreetmap.php

@ -11,7 +11,6 @@
use Friendica\DI;
use Friendica\Core\Cache\Duration;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
pageheader/pageheader.php

@ -9,7 +9,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Renderer;
use Friendica\DI;

1
phpmailer/phpmailer.php

@ -8,7 +8,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\DI;
use Friendica\Util\ConfigFileLoader;

1
piwik/piwik.php

@ -31,7 +31,6 @@
* setting.
*/
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
public_server/public_server.php

@ -8,7 +8,6 @@
use Friendica\App;
use Friendica\BaseModule;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
pumpio/pumpio.php

@ -9,7 +9,6 @@
use Friendica\App;
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\HTML;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Protocol;

1
pumpio/pumpio_sync.php

@ -1,5 +1,4 @@
<?php
use Friendica\Core\Config;
use Friendica\Core\Logger;
use Friendica\DI;

1
remote_permissions/remote_permissions.php

@ -7,7 +7,6 @@
* Status: Unsupported
*/
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Renderer;
use Friendica\Database\DBA;

1
securemail/securemail.php

@ -7,7 +7,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
statusnet/library/statusnetoauth.php

@ -1,6 +1,5 @@
<?php
use Friendica\Core\Config;
use Friendica\DI;
require_once __DIR__ . DIRECTORY_SEPARATOR . 'twitteroauth.php';

1
statusnet/statusnet.php

@ -42,7 +42,6 @@ use Friendica\App;
use Friendica\Content\OEmbed;
use Friendica\Content\Text\HTML;
use Friendica\Content\Text\Plaintext;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Protocol;

1
testdrive/testdrive.php

@ -7,7 +7,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Search;
use Friendica\Database\DBA;

1
tumblr/tumblr.php

@ -11,7 +11,6 @@ require_once __DIR__ . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . '
use Friendica\App;
use Friendica\Content\Text\BBCode;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;

1
twitter/twitter.php

@ -69,7 +69,6 @@ use Friendica\App;
use Friendica\Content\OEmbed;
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\Plaintext;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Protocol;

1
twitter/twitter_sync.php

@ -1,6 +1,5 @@
<?php
use Friendica\Core\Config;
use Friendica\Core\Logger;
use Friendica\DI;

1
webrtc/webrtc.php

@ -6,7 +6,6 @@
* Author: Stephen Mahood <https://friends.mayfirst.org/profile/marxistvegan>
* Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
*/
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Renderer;
use Friendica\DI;

1
xmpp/xmpp.php

@ -8,7 +8,6 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\Renderer;
use Friendica\DI;

Loading…
Cancel
Save