File "license-compat.php"

Full Path: /home/flipjqml/onlinebetsolution.com/wp-content/plugins/google-analytics-for-wordpress/lite/includes/license-compat.php
File size: 1.08 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * This class is used to prevent fatal errors in legacy code
 * that others have written based on testing we've done.
 *
 * @package MonsterInsights
 */

/**
 * Class MonsterInsights_License_Compat
 */
class MonsterInsights_License_Compat {

	/**
	 * MonsterInsights_License_Shim constructor.
	 */
	public function __construct() {
	}

	/**
	 * @return string
	 */
	public function get_license_type() {
		return 'lite';
	}

	/**
	 * @return string
	 */
	public function get_site_license_type() {
		return '';
	}

	/**
	 * @return string
	 */
	public function get_site_license_key() {
		return '';
	}

	/**
	 * @return string
	 */
	public function get_network_license_type() {
		return '';
	}

	/**
	 * @return string
	 */
	public function get_network_license_key() {
		return '';
	}

	/**
	 * @return string
	 */
	public function get_license_key() {
		return '';
	}

	/**
	 * Mimic the license expiration check for the lite version.
	 * On lite we don't have a license key so we can't check if it's expired.
	 *
	 * @return bool
	 */
	public function license_expired() {
		return false;
	}
}