1
0

Add check-db to egg and save parents as json-objects

This commit is contained in:
2022-10-20 14:56:27 +02:00
parent 16051928c1
commit 805627be17
12 changed files with 234 additions and 16 deletions

View File

@@ -14,8 +14,15 @@ if (!$r1)
echo 'EGG::update failed.';
}
$r2 = $SITE->modules->ExtendedGitGraph()->updateCache();
$r2 = $SITE->modules->ExtendedGitGraph()->checkDatabaseConsistency();
if (!$r2)
{
http_response_code(500);
echo 'EGG::checkDatabaseConsistency failed.';
}
$r3 = $SITE->modules->ExtendedGitGraph()->updateCache();
if (!$r3)
{
http_response_code(500);
echo 'EGG::updateCache failed.';