diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-31 22:12:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-31 22:12:15 +0000 |
commit | 291c7b8bb1a0ad6166f88d79c183973683adf183 (patch) | |
tree | cc03e39041fde6b58abdd5b9c8f02dac384c4743 | |
parent | 49fa25fb7658ada5ee242853d3ed301d0a0b05a9 (diff) | |
download | brdo-291c7b8bb1a0ad6166f88d79c183973683adf183.tar.gz brdo-291c7b8bb1a0ad6166f88d79c183973683adf183.tar.bz2 |
- Patch #81757 by neclimdul: Remove non private copy of module_parse_meta_file.
-rw-r--r-- | includes/module.inc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/includes/module.inc b/includes/module.inc index 150b776b8..53f4d3e37 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -135,30 +135,6 @@ function module_rebuild_cache() { } /** - * Parse Drupal meta file format. - * Uses ini parser provided by php's parse_ini_file(). - * You should not use the meta files to store module specific settings: - * user <code>variable_get()</code> and <code>variable_set()</code> for those. - * - * Files should use the ini format to specify values: - * key = "value" - * key2 = value2 - * - * @param $filename - * The file we are parsing. Accepts file with relative or absolute path. - * @return - * The meta data array. - */ -function module_parse_meta_file($filename) { - $metadata = array(); - - if (file_exists($filename)) { - $metadata = parse_ini_file($filename); - } - return $metadata; -} - -/** * Parse Drupal info file format. * Uses ini parser provided by php's parse_ini_file(). * |