parent
c475db843d
commit
d81fa06499
|
@ -2476,7 +2476,7 @@ class H5PCore {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->h5pF->getOption('h5p_send_usage_statistics', TRUE)) {
|
if ($this->h5pF->getOption('send_usage_statistics', TRUE)) {
|
||||||
$siteData = array_merge(
|
$siteData = array_merge(
|
||||||
$registrationData,
|
$registrationData,
|
||||||
array(
|
array(
|
||||||
|
@ -2856,7 +2856,7 @@ class H5PCore {
|
||||||
$endpoint = H5PHubEndpoints::CONTENT_TYPES;
|
$endpoint = H5PHubEndpoints::CONTENT_TYPES;
|
||||||
$data = $interface->fetchExternalData("{$protocol}://{$endpoint}", $postData);
|
$data = $interface->fetchExternalData("{$protocol}://{$endpoint}", $postData);
|
||||||
|
|
||||||
if (! $this->h5pF->getOption('h5p_hub_is_enabled', TRUE)) {
|
if (! $this->h5pF->getOption('hub_is_enabled', TRUE)) {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue