Add check-db to egg and save parents as json-objects
This commit is contained in:
14
www/extern/egg/ExtendedGitGraph2.php
vendored
14
www/extern/egg/ExtendedGitGraph2.php
vendored
@@ -177,4 +177,18 @@ class ExtendedGitGraph2 implements ILogger
|
||||
{
|
||||
foreach($this->logger as $lgr) $lgr->proclog($text);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function checkDatabase(): array
|
||||
{
|
||||
$this->db->open();
|
||||
|
||||
$r = $this->db->checkDatabase();
|
||||
|
||||
$this->db->close();
|
||||
|
||||
return $r;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user