mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-26 23:26:47 +01:00
Remove unused var, comments
This commit is contained in:
@@ -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'])) {
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user