connection storage implementation
This commit is contained in:
parent
61101050a7
commit
233be2a034
2 changed files with 0 additions and 9 deletions
|
@ -132,13 +132,6 @@ App::post('/v1/projects')
|
|||
throw new Exception(Exception::PROJECT_RESERVED_PROJECT, "'console' is a reserved project.");
|
||||
}
|
||||
|
||||
var_dump([
|
||||
'location' => 'Api::projects',
|
||||
'_APP_DATABASE_SHARED_TABLES' => System::getEnv('_APP_DATABASE_SHARED_TABLES', ''),
|
||||
'region' => $region,
|
||||
'dsn' => $dsn,
|
||||
]);
|
||||
|
||||
// TODO: Temporary until all projects are using shared tables.
|
||||
$sharedTablesKeys = explode(',', System::getEnv('_APP_DATABASE_SHARED_TABLES', ''));
|
||||
if (in_array($dsn, $sharedTablesKeys)) {
|
||||
|
|
|
@ -420,8 +420,6 @@ App::init()
|
|||
$data = $cache->load($key, $timestamp);
|
||||
|
||||
if (! empty($data) && ! $cacheLog->isEmpty()) {
|
||||
var_dump('cache log');
|
||||
var_dump($cacheLog);
|
||||
$parts = explode('/', $cacheLog->getAttribute('resourceType'));
|
||||
$type = $parts[0] ?? null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue