forked from hans/Nominatim
code beauty improvements
This commit is contained in:
@@ -66,7 +66,7 @@ if ($aCMDResult['import-data'] || $aCMDResult['all']) {
|
||||
|
||||
if ($aCMDResult['create-functions'] || $aCMDResult['all']) {
|
||||
$bDidSomething = true;
|
||||
create_functions ($aCMDResult);
|
||||
create_functions($aCMDResult);
|
||||
}
|
||||
|
||||
if ($aCMDResult['create-tables'] || $aCMDResult['all']) {
|
||||
@@ -131,5 +131,3 @@ if ($aCMDResult['drop']) {
|
||||
}
|
||||
|
||||
didsomething($bDidSomething);
|
||||
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ function prepDB($aCMDResult)
|
||||
return $aDSNInfo;
|
||||
}
|
||||
|
||||
function import_data($aCMDResult, $iCacheMemory,$aDSNInfo)
|
||||
function import_data($aCMDResult, $iCacheMemory, $aDSNInfo)
|
||||
{
|
||||
info('Import data');
|
||||
|
||||
@@ -929,5 +929,3 @@ function checkModulePresence()
|
||||
|
||||
return $bResult;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user