Skip to content

Commit

Permalink
[TESTS] Deactive Destructor for getting more information
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoffmann1979 committed Dec 10, 2024
1 parent 9cdaf88 commit 53438c9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Classes/Component/Core/Service/Database/DatabaseSchemaService.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ public function getTableNames(): array
return $this->tables;
}

public function __destruct()
{
if ($this->infoChanged) {
$cacheData = [
'columns' => $this->columns,
'tables' => $this->tables,
];
$this->cache->set(self::CACHE_ID, $cacheData);
}
}
// public function __destruct()
// {
// if ($this->infoChanged) {
// $cacheData = [
// 'columns' => $this->columns,
// 'tables' => $this->tables,
// ];
// $this->cache->set(self::CACHE_ID, $cacheData);
// }
// }
}

0 comments on commit 53438c9

Please sign in to comment.