From 472b5ca14d2a1ca8871e3e8592e7ce85d33abf37 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 3 Feb 2017 11:00:35 +0100 Subject: [PATCH] removed commented out code --- inc/init.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/inc/init.php b/inc/init.php index a2646a6aa4..b2319fe95c 100644 --- a/inc/init.php +++ b/inc/init.php @@ -311,24 +311,6 @@ function init_files(){ } } } - - # create title index (needs to have same length as page.idx) - /* - $file = $conf['indexdir'].'/title.idx'; - if(!file_exists($file)){ - $pages = file($conf['indexdir'].'/page.idx'); - $pages = count($pages); - $fh = @fopen($file,'a'); - if($fh){ - for($i=0; $i<$pages; $i++){ - fwrite($fh,"\n"); - } - fclose($fh); - }else{ - nice_die("$file is not writable. Check your permissions settings!"); - } - } - */ } /**