forked from hans/Nominatim
convert functon creation to python
The new functions always creates normal and partitioned functions. Also adds specialised connection and cursor classes for adding frequently used helper functions.
This commit is contained in:
@@ -143,12 +143,7 @@ if ($aResult['init-updates']) {
|
||||
}
|
||||
|
||||
if (!$aResult['no-update-functions']) {
|
||||
// instantiate setupClass to use the function therein
|
||||
$cSetup = new SetupFunctions(array(
|
||||
'enable-diff-updates' => true,
|
||||
'verbose' => $aResult['verbose']
|
||||
));
|
||||
$cSetup->createFunctions();
|
||||
(clone($oNominatimCmd))->addParams('refresh', '--functions')->run();
|
||||
}
|
||||
|
||||
$sDatabaseDate = getDatabaseDate($oDB);
|
||||
|
||||
Reference in New Issue
Block a user