]> git.openstreetmap.org Git - nominatim.git/commitdiff
remove unused partitionfunction function
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 25 Feb 2021 09:22:52 +0000 (10:22 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 25 Feb 2021 17:42:54 +0000 (18:42 +0100)
lib-php/admin/setup.php
lib-php/setup/SetupClass.php

index 91b72c15f844298d57726c5e429b3cab9d20f86b..6fca7c3c4b2195cdda6d81016a1a06c333805e96 100644 (file)
@@ -126,7 +126,7 @@ if ($aCMDResult['create-partition-tables'] || $aCMDResult['all']) {
 
 if ($aCMDResult['create-partition-functions'] || $aCMDResult['all']) {
     $bDidSomething = true;
 
 if ($aCMDResult['create-partition-functions'] || $aCMDResult['all']) {
     $bDidSomething = true;
-    $oSetup->createPartitionFunctions();
+    $oSetup->createFunctions(); // also create partition functions
 }
 
 if ($aCMDResult['import-wikipedia-articles'] || $aCMDResult['all']) {
 }
 
 if ($aCMDResult['import-wikipedia-articles'] || $aCMDResult['all']) {
index 66093322bc5d11f2f55064e346f41158176934cc..34c97319ddce0b4001605ad5335cd887fa37ceb3 100755 (executable)
@@ -120,12 +120,6 @@ class SetupFunctions
         $this->pgsqlRunPartitionScript($sTemplate);
     }
 
         $this->pgsqlRunPartitionScript($sTemplate);
     }
 
-    public function createPartitionFunctions()
-    {
-        info('Create Partition Functions');
-        $this->createSqlFunctions(); // also create partition functions
-    }
-
     public function loadData($bDisableTokenPrecalc)
     {
         info('Drop old Data');
     public function loadData($bDisableTokenPrecalc)
     {
         info('Drop old Data');