Get data from counters instead of log

HFJ-1610
pull/17/head
Frode Petterson 2016-02-10 11:54:20 +01:00
parent 58f3617fc1
commit 4cf7a32b4a
1 changed files with 5 additions and 5 deletions

View File

@ -2478,11 +2478,11 @@ class H5PCore {
'patch' => $this->getLibrariesInstalled(),
'content' => $this->h5pF->getLibraryContentCount(),
'loaded' => $this->h5pF->getLibraryStats('library'),
'created' => $this->h5pF->getLibraryStats('content', 'create'),
'createdUpload' => $this->h5pF->getLibraryStats('content', 'create upload'),
'deleted' => $this->h5pF->getLibraryStats('content', 'deleted'),
'resultViews' => $this->h5pF->getLibraryStats('results', 'content'),
'shortcodeInserts' => $this->h5pF->getLibraryStats('content', 'shortcode insert')
'created' => $this->h5pF->getLibraryStats('content create'),
'createdUpload' => $this->h5pF->getLibraryStats('content create upload'),
'deleted' => $this->h5pF->getLibraryStats('content deleted'),
'resultViews' => $this->h5pF->getLibraryStats('results content'),
'shortcodeInserts' => $this->h5pF->getLibraryStats('content shortcode insert')
)))
);