diff options
author | Scott Ullrich <sullrich@su.local> | 2009-09-04 17:19:47 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@su.local> | 2009-09-04 17:19:47 -0400 |
commit | fb05887adc9c8a15ba90e49c31ea16899d62a181 (patch) | |
tree | 7a0ba74d814ac1fa95445f8490024b2b39ab10b2 /usr | |
parent | eb006b8f01b82bab69140121c50b043c99c13f4d (diff) | |
download | pfsense-fb05887adc9c8a15ba90e49c31ea16899d62a181.zip pfsense-fb05887adc9c8a15ba90e49c31ea16899d62a181.tar.gz |
Use unlink()
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_firmware.php | 2 |
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; |