summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom N Harris <tnharris@whoopdedo.org>2010-11-14 14:17:52 -0500
committerTom N Harris <tnharris@whoopdedo.org>2010-11-14 14:17:52 -0500
commit3a1a171b951828395a7578475e86e622f9a7205c (patch)
tree7578b8d03097ecb3ee56e42ec7a7ba77179f9971
parenta365baeef4fc0b6d593043c6db53c01671de9490 (diff)
downloadrpg-3a1a171b951828395a7578475e86e622f9a7205c.tar.gz
rpg-3a1a171b951828395a7578475e86e622f9a7205c.tar.bz2
Remove unused idx_touchIndex function
-rw-r--r--inc/indexer.php16
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.
*