parent
677adb0d8a
commit
d1bbed49fc
|
@ -2456,10 +2456,6 @@ class H5PCore {
|
||||||
// Failed retrieving uuid
|
// Failed retrieving uuid
|
||||||
if (!$registration) {
|
if (!$registration) {
|
||||||
$errorMessage = $this->h5pF->t('Site could not be registered with the hub. Please contact your site administrator.');
|
$errorMessage = $this->h5pF->t('Site could not be registered with the hub. Please contact your site administrator.');
|
||||||
H5PCore::ajaxError(
|
|
||||||
$errorMessage,
|
|
||||||
'SITE_REGISTRATION_FAILED'
|
|
||||||
);
|
|
||||||
$this->h5pF->setErrorMessage($errorMessage);
|
$this->h5pF->setErrorMessage($errorMessage);
|
||||||
$this->h5pF->setErrorMessage(
|
$this->h5pF->setErrorMessage(
|
||||||
$this->h5pF->t('The H5P Hub has been disabled until this problem can be resolved. You may still upload libraries through the "H5P Libraries" page.')
|
$this->h5pF->t('The H5P Hub has been disabled until this problem can be resolved. You may still upload libraries through the "H5P Libraries" page.')
|
||||||
|
@ -2506,7 +2502,7 @@ class H5PCore {
|
||||||
|
|
||||||
// No data received
|
// No data received
|
||||||
if (!$result || empty($result)) {
|
if (!$result || empty($result)) {
|
||||||
return;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle libraries metadata
|
// Handle libraries metadata
|
||||||
|
|
Loading…
Reference in New Issue