X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/7c5ea8dded583601f29c7ea9bcb507ecbdd854d6..82baddd2b6342407503a8b5d8c5e26fa845100dc:/scripts/index.php 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();