1
0
Fork 0
mirror of synced 2024-09-15 00:48:25 +12:00

Linter fix

This commit is contained in:
Matej Bačo 2024-02-07 10:17:34 +01:00
parent 939aec866e
commit d5216d5b14

View file

@ -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();