Linter fix
This commit is contained in:
parent
939aec866e
commit
d5216d5b14
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ App::post('/v1/projects')
|
||||||
// Useful for ZDT to mirror the project to destination
|
// Useful for ZDT to mirror the project to destination
|
||||||
$dbForProject = $hooks->trigger('getProxyProjectDatabase', [ $project, $pools, $cache ]);
|
$dbForProject = $hooks->trigger('getProxyProjectDatabase', [ $project, $pools, $cache ]);
|
||||||
|
|
||||||
if(empty($dbForProject)) {
|
if (empty($dbForProject)) {
|
||||||
$dbForProject = new Database($pools->get($database)->pop()->getResource(), $cache);
|
$dbForProject = new Database($pools->get($database)->pop()->getResource(), $cache);
|
||||||
$dbForProject->setNamespace("_{$project->getInternalId()}");
|
$dbForProject->setNamespace("_{$project->getInternalId()}");
|
||||||
$dbForProject->create();
|
$dbForProject->create();
|
||||||
|
|
Loading…
Reference in a new issue