mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Dbg $projectCollectionIds
This commit is contained in:
@@ -507,7 +507,13 @@ class Deletes extends Action
|
||||
var_dump($collection->getId());
|
||||
|
||||
if ($dsn->getHost() !== System::getEnv('_APP_DATABASE_SHARED_TABLES', '') || !\in_array($collection->getId(), $projectCollectionIds)) {
|
||||
var_dump('start ' . $collection->getId());
|
||||
|
||||
$dbForProject->deleteCollection($collection->getId());
|
||||
|
||||
var_dump('finish ' . $collection->getId());
|
||||
var_dump('');
|
||||
|
||||
} else {
|
||||
$this->deleteByGroup($collection->getId(), [], database: $dbForProject);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user