mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Remove unneeded comment in createProjectVariable
This commit is contained in:
1 parent
b5e1c28d61
commit
5c96d2e0c5
1 file changed
-2
@@ -3112,8 +3112,6 @@ class Appwrite extends Destination
|
||||
|
||||
protected function createProjectVariable(ProjectVariable $resource): bool
|
||||
{
|
||||
// Variables live in dbForProject (not dbForPlatform). resourceType is 'project' (singular)
|
||||
// for project-scope variables; function/site-scope variables use 'function'/'site'.
|
||||
$existing = $this->dbForProject->findOne('variables', [
|
||||
Query::equal('resourceType', ['project']),
|
||||
Query::equal('key', [$resource->getKey()]),
|
||||
|
||||
Reference in new issue
Block a user