modules->ExtendedGitGraph()->update(); if (!$r1) { http_response_code(500); echo 'EGG::update failed.'; } $r2 = $SITE->modules->ExtendedGitGraph()->updateCache(); if (!$r2) { http_response_code(500); echo 'EGG::updateCache failed.'; } http_response_code(200); echo 'Done.';