aboutsummaryrefslogtreecommitdiff
path: root/scripts/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/index.php')
-rw-r--r--scripts/index.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/index.php b/scripts/index.php
index 5afbee0..4b529d1 100644
--- a/scripts/index.php
+++ b/scripts/index.php
@@ -28,13 +28,9 @@ if ($GLOBALS['phorkie']['cfg']['setupcheck']) {
$db = new Database();
$idx = $db->getIndexer();
-//cleanup
-echo "Deleting all index data\n";
-$idx->deleteAllRepos();
-
//create mapping
-echo "Index setup\n";
-$db->getSetup()->setup();
+echo "Index reset\n";
+$db->getSetup()->reset();
$rs = new Repositories();