diff options
author | Tom N Harris <tnharris@whoopdedo.org> | 2010-11-14 14:17:52 -0500 |
---|---|---|
committer | Tom N Harris <tnharris@whoopdedo.org> | 2010-11-14 14:17:52 -0500 |
commit | 3a1a171b951828395a7578475e86e622f9a7205c (patch) | |
tree | 7578b8d03097ecb3ee56e42ec7a7ba77179f9971 | |
parent | a365baeef4fc0b6d593043c6db53c01671de9490 (diff) | |
download | rpg-3a1a171b951828395a7578475e86e622f9a7205c.tar.gz rpg-3a1a171b951828395a7578475e86e622f9a7205c.tar.bz2 |
Remove unused idx_touchIndex function
-rw-r--r-- | inc/indexer.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/inc/indexer.php b/inc/indexer.php index f5330040a..7a8bb3ff8 100644 --- a/inc/indexer.php +++ b/inc/indexer.php @@ -104,22 +104,6 @@ function idx_getIndex($pre, $wlen){ } /** - * Create an empty index file if it doesn't exist yet. - * - * FIXME: This function isn't currently used. It will probably be removed soon. - * - * @author Tom N Harris <tnharris@whoopdedo.org> - */ -function idx_touchIndex($pre, $wlen){ - global $conf; - $fn = $conf['indexdir'].'/'.$pre.$wlen.'.idx'; - if(!@file_exists($fn)){ - touch($fn); - if($conf['fperm']) chmod($fn, $conf['fperm']); - } -} - -/** * Read a line ending with \n. * Returns false on EOF. * |