mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
remove unsed getNasID function
This commit is contained in:
parent
ee3576ddd3
commit
eb1627906a
@ -1515,20 +1515,6 @@ function getVolume($ip) {
|
||||
return $volume;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the NAS-Identifier
|
||||
*
|
||||
* We will use our local hostname to make up the nas_id
|
||||
*/
|
||||
function getNasID()
|
||||
{
|
||||
$nasId = "";
|
||||
exec("/bin/hostname", $nasId);
|
||||
if(!$nasId[0])
|
||||
$nasId[0] = "{$g['product_name']}";
|
||||
return $nasId[0];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the NAS-IP-Address based on the current wan address
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user