mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Fix drop abuse on shared table project delete
This commit is contained in:
parent
e140603890
commit
e394532bcd
1 changed files with 3 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ use Appwrite\Certificates\Adapter as CertificatesAdapter;
|
||||||
use Appwrite\Extend\Exception;
|
use Appwrite\Extend\Exception;
|
||||||
use Executor\Executor;
|
use Executor\Executor;
|
||||||
use Throwable;
|
use Throwable;
|
||||||
|
use Utopia\Abuse\Adapters\TimeLimit\Database as AbuseDatabase;
|
||||||
use Utopia\Audit\Audit;
|
use Utopia\Audit\Audit;
|
||||||
use Utopia\Cache\Adapter\Filesystem;
|
use Utopia\Cache\Adapter\Filesystem;
|
||||||
use Utopia\Cache\Cache;
|
use Utopia\Cache\Cache;
|
||||||
|
|
@ -505,7 +506,8 @@ class Deletes extends Action
|
||||||
|
|
||||||
$projectCollectionIds = [
|
$projectCollectionIds = [
|
||||||
...\array_keys(Config::getParam('collections', [])['projects']),
|
...\array_keys(Config::getParam('collections', [])['projects']),
|
||||||
Audit::COLLECTION
|
Audit::COLLECTION,
|
||||||
|
AbuseDatabase::COLLECTION,
|
||||||
];
|
];
|
||||||
|
|
||||||
$limit = \count($projectCollectionIds) + 25;
|
$limit = \count($projectCollectionIds) + 25;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue