mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Dbg $projectCollectionIds
This commit is contained in:
parent
0ace58f00b
commit
1cf26b1f46
1 changed files with 2 additions and 3 deletions
|
|
@ -503,9 +503,6 @@ class Deletes extends Action
|
|||
$collections = $dbForProject->listCollections($limit);
|
||||
|
||||
foreach ($collections as $collection) {
|
||||
|
||||
var_dump($collection->getId());
|
||||
|
||||
if ($dsn->getHost() !== System::getEnv('_APP_DATABASE_SHARED_TABLES', '') || !\in_array($collection->getId(), $projectCollectionIds)) {
|
||||
var_dump('start ' . $collection->getId());
|
||||
|
||||
|
|
@ -515,6 +512,8 @@ class Deletes extends Action
|
|||
var_dump('');
|
||||
|
||||
} else {
|
||||
|
||||
var_dump('deleteByGroup' . $collection->getId());
|
||||
$this->deleteByGroup($collection->getId(), [], database: $dbForProject);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue