From 4cf7a32b4acfaa66a651ed9c300a024f04183572 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Wed, 10 Feb 2016 11:54:20 +0100 Subject: [PATCH] Get data from counters instead of log HFJ-1610 --- h5p.classes.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/h5p.classes.php b/h5p.classes.php index 2741687..94f0af4 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -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') ))) );