mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Function renamed
update function calls
This commit is contained in:
parent
1ac32c622e
commit
4a667f640f
16 changed files with 29 additions and 29 deletions
|
@ -207,7 +207,7 @@ function remote_permissions_addon_admin(&$a, &$o){
|
|||
}
|
||||
|
||||
function remote_permissions_addon_admin_post(&$a){
|
||||
$choice = ((x($_POST,'remotepermschoice')) ? Strings::removeTags(trim($_POST['remotepermschoice'])) : '');
|
||||
$choice = ((x($_POST,'remotepermschoice')) ? Strings::escapeTags(trim($_POST['remotepermschoice'])) : '');
|
||||
Config::set('remote_perms','global',($choice == 1 ? 1 : 0));
|
||||
info(L10n::t('Settings updated.'). EOL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue