/** * Download the Extension Repository * * This forces the system to retrieve the new set of extensions based on * license key * * @return boolean * * @access public */ public function downloadRepository() { $response = true; if ($extensions = aam_Core_API::getBlogOption('aam_extensions')) { if (is_array($extensions)) { $extension = new aam_Core_Extension(); $extension->download(); } } return $response; }