logModuleCall($module, 'update check', $version, $release);
            if (version_compare($release, $version) > 0) {
                return true;
            } else {
                return false;
            }
        }
        /**
         * Output update notice HTML
         * @since 1.0.1
         *
         * @param  string  $url     HTTPS Full URL to raw file with version number
         * @param  integer $version Full current version number
         * @param  string  $module  Current module checking update for
         *
         * @return string          HTML to show on admin dashboard if current version is older than current release
         */
        public static function output_update($url, $version, $module = 'whmcse')
        {
            $notice = '';
            $need_update = self::check_need_update($url, $version, $module);
            $update_url = str_replace('/release', '', $url);
            if ($need_update) {
                $notice = '<div class="infobox"><strong><span class="title">' . $module . ' update available!</span></strong><br>You can download the update from <a href="' . $update_url . '">GitHub</a></div>';
            }
            return $notice;
        }
    }
}
AC_WHMCSe::get_instance();
 public function __construct()
 {
     AC_WHMCSe::get_instance();
 }