From 2098f6ddbb2605ff724c3fbcc1de379574356ed8 Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 30 Dec 2006 21:14:24 +0000 Subject: [PATCH] MDL-8029 obsoleted file_get_contents() emulation removed from filelib --- lib/filelib.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/filelib.php b/lib/filelib.php index 98754f95a5..d56a08b800 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -475,14 +475,6 @@ function put_records_csv($file, $records, $table = NULL) { } -if (!function_exists('file_get_contents')) { - function file_get_contents($file) { - $file = file($file); - return !$file ? false : implode('', $file); - } -} - - /** * Recursively delete the file or folder with path $location. That is, * if it is a file delete it. If it is a folder, delete all its content -- 2.39.5