getUpdateInformation(); if (is_object($updateInformation) && ($updateInformation instanceof Registry)) { $updateInformation = $updateInformation->toArray(); } if (is_array($updateInformation) && array_key_exists('releasenotes', $updateInformation)) { unset ($updateInformation['releasenotes']); } $edition = AKEEBABACKUP_PRO ? 'pro' : 'core'; return (object)array( 'api' => AKEEBA_JSON_API_VERSION, 'component' => AKEEBABACKUP_VERSION, 'date' => AKEEBABACKUP_DATE, 'edition' => $edition, 'updateinfo' => $updateInformation, ); } }