use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\L10n;
-use Friendica\Core\PConfig;
use Friendica\Core\Renderer;
use Friendica\Core\Search;
use Friendica\Database\DBA;
function get_vier_config($key, $default = false, $admin = false)
{
if (local_user() && !$admin) {
- $result = PConfig::get(local_user(), "vier", $key);
+ $result = DI::pConfig()->get(local_user(), "vier", $key);
if (!is_null($result)) {
return $result;
}