diff options
author | Colin Smith <colin@pfsense.org> | 2005-08-03 07:21:09 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-08-03 07:21:09 +0000 |
commit | 60547911be424e45edaa807cb9a3a07f0c56d8c4 (patch) | |
tree | b1156b41e405d15f29fb7b78f1581fbce815801b /etc/inc/pfsense-utils.inc | |
parent | 7822d9660ccf2116b3377fefb4c23f680bb648b4 (diff) | |
download | pfsense-60547911be424e45edaa807cb9a3a07f0c56d8c4.zip pfsense-60547911be424e45edaa807cb9a3a07f0c56d8c4.tar.gz |
Remove return_filename_as_string.
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index d7158ce..b258597 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -200,22 +200,6 @@ function get_carp_status() { return true; } -/****f* pfsense-utils/return_filename_as_string - * NAME - * return_filename_as_string - Return a file's contents as a string. - * INPUTS - * $filename - string containing the path to the desired file. - * RESULT - * $tmp - string containing the file's contents. - ******/ -function return_filename_as_string($filename) { - if(file_exists($filename)) { - return file_get_contents($filename); - } else { - return false; - } -} - /****f* pfsense-utils/is_carp_defined * NAME * is_carp_defined - Return whether CARP is detected in the kernel. @@ -1163,4 +1147,4 @@ function reload_all_sync() { filter_configure(); } -?>
\ No newline at end of file +?> |