Move Config::get() to DI::config()->get()

This commit is contained in:
nupplaPhil
2020-01-19 21:21:13 +01:00
parent 5d294e8be8
commit 6c36fd9e01
126 changed files with 581 additions and 596 deletions

View File

@@ -16,7 +16,7 @@ function post_var($name) {
function pubsubhubbub_init(App $a) {
// PuSH subscription must be considered "public" so just block it
// if public access isn't enabled.
if (Config::get('system', 'block_public')) {
if (DI::config()->get('system', 'block_public')) {
throw new \Friendica\Network\HTTPException\ForbiddenException();
}