summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@su.local>2009-09-04 17:19:47 -0400
committerScott Ullrich <sullrich@su.local>2009-09-04 17:19:47 -0400
commitfb05887adc9c8a15ba90e49c31ea16899d62a181 (patch)
tree7a0ba74d814ac1fa95445f8490024b2b39ab10b2 /usr
parenteb006b8f01b82bab69140121c50b043c99c13f4d (diff)
downloadpfsense-fb05887adc9c8a15ba90e49c31ea16899d62a181.zip
pfsense-fb05887adc9c8a15ba90e49c31ea16899d62a181.tar.gz
Use unlink()
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_firmware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index 59dbd37..468c780 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -57,7 +57,7 @@ function file_is_for_platform($filename) {
return false;
$upgrade_is_for_platform = trim(file_get_contents("/tmp/etc/platform"));
if($g['platform'] == $upgrade_is_for_platform) {
- unlink_file("/tmp/etc/platform");
+ unlink("/tmp/etc/platform");
return true;
}
return false;
OpenPOWER on IntegriCloud