From 00109afd4d15d8c31c328e6e1736ced0d0299c0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Tue, 5 May 2009 19:40:55 +0000 Subject: Remove function that is present on php5. --- etc/inc/pfsense-utils.inc | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'etc') diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index c0006cf..94eae9c 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -455,20 +455,6 @@ function return_filename_as_array($filename, $strip = array('#')) { return $file; } -/****f* pfsense-utils/file_put_contents - * NAME - * file_put_contents - Wrapper for file_put_contents if it doesn't exist - * RESULT - * none - ******/ -if(!function_exists("file_put_contents")) { - function file_put_contents($filename, $data) { - $fd = fopen($filename,"w"); - fwrite($fd, $data); - fclose($fd); - } -} - /****f* pfsense-utils/get_carp_status * NAME * get_carp_status - Return whether CARP is enabled or disabled. -- cgit v1.1