move checkModilePresence to class, delete own debug echo

This commit is contained in:
ThomasBarris
2018-09-08 09:26:23 +02:00
parent d10f63b666
commit 9e35e5c2b0
2 changed files with 10 additions and 5 deletions

View File

@@ -71,10 +71,6 @@ if ($aResult['init-updates']) {
}
if (!$aResult['no-update-functions']) {
// Try accessing the C module,
if (!checkModulePresence()) {
fail('error loading nominatim.so module');
}
// instantiate setupClass to use the function therein
$cSetup = new SetupFunctions($aResult);
$cSetup->createFunctions();