summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-12-20 17:49:19 +0100
committerMichael Hamann <michael@content-space.de>2012-12-20 17:49:19 +0100
commitbff17c53db3caca2e08837dc163e10a15f82860b (patch)
tree0e2add571eb55740ae7711858c2c592947583100 /bin
parent4f7083212993bf72f0b8969e6d57f587faaa5dfc (diff)
downloadrpg-bff17c53db3caca2e08837dc163e10a15f82860b.tar.gz
rpg-bff17c53db3caca2e08837dc163e10a15f82860b.tar.bz2
Remove superfluous requires and variables from bin/indexer.php
Diffstat (limited to 'bin')
-rwxr-xr-xbin/indexer.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/indexer.php b/bin/indexer.php
index 78f470ae0..6f6b5d9fa 100755
--- a/bin/indexer.php
+++ b/bin/indexer.php
@@ -5,11 +5,6 @@ if ('cli' != php_sapi_name()) die();
ini_set('memory_limit','128M');
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/');
require_once(DOKU_INC.'inc/init.php');
-require_once(DOKU_INC.'inc/common.php');
-require_once(DOKU_INC.'inc/pageutils.php');
-require_once(DOKU_INC.'inc/search.php');
-require_once(DOKU_INC.'inc/indexer.php');
-require_once(DOKU_INC.'inc/auth.php');
require_once(DOKU_INC.'inc/cliopts.php');
session_write_close();
@@ -67,10 +62,6 @@ function _usage() {
function _update(){
global $conf;
- global $INDEXER;
-
- $INDEXER = idx_get_indexer();
-
$data = array();
_quietecho("Searching pages... ");
search($data,$conf['datadir'],'search_allpages',array('skipacl' => true));
@@ -82,7 +73,6 @@ function _update(){
}
function _index($id){
- global $INDEXER;
global $CLEAR;
global $QUIET;