Remove unused var, comments

This commit is contained in:
billz
2025-11-28 08:47:25 +01:00
parent d226b70c92
commit 681594b8d5
2 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
use RaspAP\Networking\Hotspot\WiFiManager;
/**
*
* WiFi client configuration page handler
*
*/
function DisplayWPAConfig()
@@ -16,7 +16,6 @@ function DisplayWPAConfig()
$wifi->knownWifiStations($networks);
$wifi->setKnownStationsWPA($networks);
$iface = escapeshellarg($_SESSION['wifi_client_interface']);
$clientInterface = $_SESSION['wifi_client_interface'];
if (isset($_POST['connect'])) {

View File

@@ -556,8 +556,8 @@ CONF;
/**
* Gets the operational status of a network interface
*
* @param string $interface The network interface name
* @return string Returns 'up', 'down', or 'unknown'
* @param string $interface network interface name
* @return string returns up, down, or unknown
*/
public function getInterfaceStatus(string $interface): string
{