mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
rebuild: force all for pg
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
|
||||
namespace Espo\Controllers;
|
||||
|
||||
use Espo\Core\Utils\Config;
|
||||
use Espo\Entities\User;
|
||||
use Espo\Tools\FieldManager\FieldManager as FieldManagerTool;
|
||||
use Espo\Core\Api\Request;
|
||||
@@ -51,7 +50,6 @@ class FieldManager
|
||||
private User $user,
|
||||
private DataManager $dataManager,
|
||||
private FieldManagerTool $fieldManagerTool,
|
||||
private Config $config
|
||||
) {
|
||||
$this->checkControllerAccess();
|
||||
}
|
||||
@@ -206,8 +204,6 @@ class FieldManager
|
||||
*/
|
||||
private function rebuild(string $scope): void
|
||||
{
|
||||
$argument = $this->config->get('database.platform') === 'Postgresql' ? null : [$scope];
|
||||
|
||||
$this->dataManager->rebuild($argument);
|
||||
$this->dataManager->rebuild([$scope]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user