mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 03:18:48 +00:00
[various] Replace direct accesses to $a->config with Config::get
This commit is contained in:
parent
d96370bfad
commit
9e1e088c09
6 changed files with 28 additions and 24 deletions
|
@ -103,7 +103,7 @@ function pumpio_registerclient(&$a, $host)
|
|||
$application_name = $a->get_hostname();
|
||||
}
|
||||
|
||||
$adminlist = explode(",", str_replace(" ", "", $a->config['admin_email']));
|
||||
$adminlist = explode(",", str_replace(" ", "", Config::get('config', 'admin_email')));
|
||||
|
||||
$params["type"] = "client_associate";
|
||||
$params["contacts"] = $adminlist[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue