From db5e78c8792a62c5e2c4e6b18f12b0d55151b1ed Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 25 Feb 2021 10:22:52 +0100 Subject: [PATCH] remove unused partitionfunction function --- lib-php/admin/setup.php | 2 +- lib-php/setup/SetupClass.php | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib-php/admin/setup.php b/lib-php/admin/setup.php index 91b72c15..6fca7c3c 100644 --- a/lib-php/admin/setup.php +++ b/lib-php/admin/setup.php @@ -126,7 +126,7 @@ if ($aCMDResult['create-partition-tables'] || $aCMDResult['all']) { if ($aCMDResult['create-partition-functions'] || $aCMDResult['all']) { $bDidSomething = true; - $oSetup->createPartitionFunctions(); + $oSetup->createFunctions(); // also create partition functions } if ($aCMDResult['import-wikipedia-articles'] || $aCMDResult['all']) { diff --git a/lib-php/setup/SetupClass.php b/lib-php/setup/SetupClass.php index 66093322..34c97319 100755 --- a/lib-php/setup/SetupClass.php +++ b/lib-php/setup/SetupClass.php @@ -120,12 +120,6 @@ class SetupFunctions $this->pgsqlRunPartitionScript($sTemplate); } - public function createPartitionFunctions() - { - info('Create Partition Functions'); - $this->createSqlFunctions(); // also create partition functions - } - public function loadData($bDisableTokenPrecalc) { info('Drop old Data'); -- 2.39.5