diff options
author | Andrey Andreev <narf@devilix.net> | 2016-12-01 14:28:41 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-12-01 14:28:41 +0100 |
commit | 172f949370bb1498789c7d897fdaa4073388ebd5 (patch) | |
tree | 7a8ef83a1d33f61657f704c2026383faf18c07df /system/helpers/file_helper.php | |
parent | 41091ba2fd3005d4a387ee17bfd7520475028627 (diff) |
Remove previously deprecated File Helper function read_file()
Diffstat (limited to 'system/helpers/file_helper.php')
-rw-r--r-- | system/helpers/file_helper.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php index 3cb36a551..484bf3228 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php @@ -49,26 +49,6 @@ defined('BASEPATH') OR exit('No direct script access allowed'); // ------------------------------------------------------------------------ -if ( ! function_exists('read_file')) -{ - /** - * Read File - * - * Opens the file specified in the path and returns it as a string. - * - * @todo Remove in version 3.1+. - * @deprecated 3.0.0 It is now just an alias for PHP's native file_get_contents(). - * @param string $file Path to file - * @return string File contents - */ - function read_file($file) - { - return @file_get_contents($file); - } -} - -// ------------------------------------------------------------------------ - if ( ! function_exists('write_file')) { /** |