fix: [statistics] do not divide correlation count by 2 - no longer needed

We're only storing 1 row / correlation since the engine rework

- As reported by @github-germ
pull/8731/head
Andras Iklody 2022-11-01 09:29:58 +01:00 committed by GitHub
parent a7687c592d
commit 2497369374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1905,7 +1905,6 @@ class UsersController extends AppController
$stats['attributes_per_event'] = round($stats['attribute_count'] / $stats['event_count']);
$stats['correlation_count'] = $this->User->Event->Attribute->Correlation->find('count', array('recursive' => -1));
$stats['correlation_count'] = $stats['correlation_count'] / 2;
$stats['proposal_count'] = $this->User->Event->ShadowAttribute->find('count', array('recursive' => -1, 'conditions' => array('deleted' => 0)));