move functions for address lookup into own file

This commit is contained in:
Sarah Hoffmann
2020-01-05 16:16:21 +01:00
parent f1a5862f3d
commit 28fa7be75a
3 changed files with 279 additions and 265 deletions

View File

@@ -652,6 +652,7 @@ class SetupFunctions
$sTemplate = file_get_contents(CONST_BasePath.'/sql/functions.sql');
$sTemplate .= file_get_contents($sBasePath.'normalization.sql');
$sTemplate .= file_get_contents($sBasePath.'importance.sql');
$sTemplate .= file_get_contents($sBasePath.'address_lookup.sql');
$sTemplate = str_replace('{modulepath}', $this->sModulePath, $sTemplate);
if ($this->bEnableDiffUpdates) {
$sTemplate = str_replace('RETURN NEW; -- %DIFFUPDATES%', '--', $sTemplate);