mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Function renamed
update function calls
This commit is contained in:
parent
1ac32c622e
commit
4a667f640f
16 changed files with 29 additions and 29 deletions
|
@ -100,10 +100,10 @@ function geocoordinates_addon_admin(&$a, &$o)
|
|||
|
||||
function geocoordinates_addon_admin_post(&$a)
|
||||
{
|
||||
$api_key = ((x($_POST, 'api_key')) ? Strings::removeTags(trim($_POST['api_key'])) : '');
|
||||
$api_key = ((x($_POST, 'api_key')) ? Strings::escapeTags(trim($_POST['api_key'])) : '');
|
||||
Config::set('geocoordinates', 'api_key', $api_key);
|
||||
|
||||
$language = ((x($_POST, 'language')) ? Strings::removeTags(trim($_POST['language'])) : '');
|
||||
$language = ((x($_POST, 'language')) ? Strings::escapeTags(trim($_POST['language'])) : '');
|
||||
Config::set('geocoordinates', 'language', $language);
|
||||
info(L10n::t('Settings updated.'). EOL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue