Camelize property apache_ip_binding => apacheIpBinding

Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
Pablo Zmdl 2026-01-23 17:25:14 +01:00
parent 5cac2dcf12
commit f17db4fac1
2 changed files with 3 additions and 3 deletions

View file

@ -137,7 +137,7 @@ class ConfigurationManager
set { $this->set('borg_restore_password', $value); } set { $this->set('borg_restore_password', $value); }
} }
public string $apache_ip_binding { public string $apacheIpBinding {
get => $this->GetEnvironmentalVariableOrConfig('APACHE_IP_BINDING', 'apache_ip_binding', ''); get => $this->GetEnvironmentalVariableOrConfig('APACHE_IP_BINDING', 'apache_ip_binding', '');
set { $this->set('apache_ip_binding', $value); } set { $this->set('apache_ip_binding', $value); }
} }
@ -1052,7 +1052,7 @@ class ConfigurationManager
'SELECTED_RESTORE_TIME' => $this->selectedRestoreTime, 'SELECTED_RESTORE_TIME' => $this->selectedRestoreTime,
'RESTORE_EXCLUDE_PREVIEWS' => $this->restoreExcludePreviews ? '1' : '', 'RESTORE_EXCLUDE_PREVIEWS' => $this->restoreExcludePreviews ? '1' : '',
'APACHE_PORT' => $this->apache_port, 'APACHE_PORT' => $this->apache_port,
'APACHE_IP_BINDING' => $this->apache_ip_binding, 'APACHE_IP_BINDING' => $this->apacheIpBinding,
'TALK_PORT' => $this->talk_port, 'TALK_PORT' => $this->talk_port,
'TURN_DOMAIN' => $this->turn_domain, 'TURN_DOMAIN' => $this->turn_domain,
'NEXTCLOUD_MOUNT' => $this->nextcloud_mount, 'NEXTCLOUD_MOUNT' => $this->nextcloud_mount,

View file

@ -289,7 +289,7 @@ readonly class DockerActionManager {
} }
$ipBinding = $value->ipBinding; $ipBinding = $value->ipBinding;
if ($ipBinding === '%APACHE_IP_BINDING%') { if ($ipBinding === '%APACHE_IP_BINDING%') {
$ipBinding = $this->configurationManager->apache_ip_binding; $ipBinding = $this->configurationManager->apacheIpBinding;
// Do not expose if AIO is in internal network mode // Do not expose if AIO is in internal network mode
if ($ipBinding === '@INTERNAL') { if ($ipBinding === '@INTERNAL') {
continue; continue;