mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Merge pull request #10652 from appwrite/fix-undefined-sequence
Fix undefined sequence
This commit is contained in:
commit
8dfdfcb522
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ class StatsUsage extends Action
|
|||
/**
|
||||
* Sort by unique index key reduce locks/deadlocks
|
||||
*/
|
||||
usort($projectStats['stats'], function ($a, $b) {
|
||||
usort($projectStats['stats'], function ($a, $b) use ($sequence) {
|
||||
// Metric DESC
|
||||
$cmp = strcmp($b['metric'], $a['metric']);
|
||||
if ($cmp !== 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue