remove unsed getNasID function

This commit is contained in:
Michael Newton 2013-02-11 10:59:08 -08:00
parent ee3576ddd3
commit eb1627906a

View File

@ -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
*