Revert "HFJ-1610 - Track number of contents per library type."

This reverts commit 2e0498cd3a.
pull/17/head
Frode Petterson 2016-03-10 14:14:33 +01:00
parent 13a2988414
commit 36c8bf3362
1 changed files with 0 additions and 11 deletions

View File

@ -334,16 +334,6 @@ interface H5PFrameworkInterface {
*/
public function getLibraryUsage($libraryId);
/**
* Get a key value list of library version and count of content created
* using that library.
*
* @return array
* Array containing library, major and minor version - content count
* e.g. "H5P.CoursePresentation 1.6" => "14"
*/
public function getLibraryContentCount();
/**
* Loads a library
*
@ -2415,7 +2405,6 @@ class H5PCore {
$platformInfo['autoFetchingDisabled'] = $fetchingDisabled;
$platformInfo['uuid'] = $this->h5pF->getOption('site_uuid', '');
$platformInfo['siteType'] = $this->h5pF->getOption('site_type', 'local');
$platformInfo['libraryContentCount'] = $this->h5pF->getLibraryContentCount();
// Adding random string to GET to be sure nothing is cached
$random = substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 5);