1
0
Fork 0
mirror of synced 2024-06-13 00:04:47 +12:00

Update CONTRIBUTING.md

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Shimon Newman 2024-05-07 20:59:19 +03:00 committed by GitHub
parent ddda24e34d
commit 243bdeb29c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -367,7 +367,7 @@ On file `app/controllers/shared/api.php` in database listener, add to an exist
->addMetric(METRIC_TEAMS, $value); // per project
break;
```
There are cases when you need to handle metric the is a parent entity, like buckets.
There are cases when you need to handle metric that has a parent entity, like buckets.
Files are linked to a parent bucket, you should verify you remove the files stats when you delete a bucket.
In that case you need also to handle children removal using addReduce() method call.