summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-05-05 19:40:55 +0000
committerErmal Luçi <eri@pfsense.org>2009-05-05 19:40:55 +0000
commit00109afd4d15d8c31c328e6e1736ced0d0299c0b (patch)
treefcb6f9b93625cab80a003730627349f2ce5c32d4 /etc
parente88fbe5021ac4d303971b4578375156489a9b259 (diff)
downloadpfsense-00109afd4d15d8c31c328e6e1736ced0d0299c0b.zip
pfsense-00109afd4d15d8c31c328e6e1736ced0d0299c0b.tar.gz
Remove function that is present on php5.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc14
1 files changed, 0 insertions, 14 deletions
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.
OpenPOWER on IntegriCloud