Skip to content

Commit

Permalink
HealthcheckBase: no longer need to overwrite the getDatabase() method
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed May 9, 2023
1 parent 8ebce4c commit b10974a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions classes/healtcheck/HealtcheckBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,6 @@ public function __construct()
$this->response->setContentType('text/plain');
}

/**
* Do not connect to the database be default!
*
* @param \NanoApp $app
* @return \Database|null
*/
protected static function getDatabase(\NanoApp $app)
{
return null;
}

/**
* @param string $msg
*/
Expand Down

0 comments on commit b10974a

Please sign in to comment.