From feff032c3161eb2bfc12c6cf6ba928591b1b96a7 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Wed, 2 Jul 2014 09:28:06 +0000 Subject: [PATCH] Remove unused "read_config_file" function --- src/mibew/libs/common/configurations.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/mibew/libs/common/configurations.php b/src/mibew/libs/common/configurations.php index e9c9bffb..9ad069cf 100644 --- a/src/mibew/libs/common/configurations.php +++ b/src/mibew/libs/common/configurations.php @@ -15,22 +15,6 @@ * limitations under the License. */ -/** - * Read and parse configuration ini file - * - * @param string $file Path to Configuration file - * @return boolean|array Array of configurations or boolean false if file can - * not be read. - */ -function read_config_file($file) -{ - if (!is_readable($file)) { - return false; - } - - return parse_ini_file($file, true); -} - /** * Loads system configurations. *