summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
*