HEX
Server: Apache
System: Linux efa57bbe-abb1-400d-2985-3b056fbc2701.secureserver.net 6.1.147-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 24 12:33:32 EDT 2025 x86_64
User: root (0)
PHP: 8.0.30.4
Disabled: NONE
Upload Files
File: /var/www/wp-content/mu-plugins/gd-system-plugin/includes/class-cache.php
<?php

namespace WPaaS;

if ( ! defined( 'ABSPATH' ) ) {

	exit;

}

/**
 * @deprecated Use Cache_V2
 */
final class Cache {
	/**
	 * Required user capability.
	 *
	 * @var string
	 */
	public static $cap = 'activate_plugins';

	/**
	 * @deprecated This method will be removed in future versions
	 */
	public function do_ban() {
		trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);

		$GLOBALS['wpaas_cache_class']->do_ban();
	}

	/**
	 * @deprecated This method will be removed in future versions
	 */
	public function do_purge( $id, $post = null ) {
		trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);

		$GLOBALS['wpaas_cache_class']->do_purge();
	}

	/**
	 * @deprecated This method will be removed in future versions
	 */
	public static function has_ban() {
		trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);

		return $GLOBALS['wpaas_cache_class']->has_ban();
	}

	/**
	 * @deprecated This method will be removed in future versions
	 */
	public static function has_purge() {
		trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);

		return $GLOBALS['wpaas_cache_class']->has_purge();
	}

	/**
	 * @deprecated This method will be removed in future versions
	 */
	public static function ban() {
		trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);

		return $GLOBALS['wpaas_cache_class']->ban();

	}

	/**
	 * @deprecated This method will be removed in future versions
	 */
	public static function purge( $urls = [] ) {
		trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);

		return $GLOBALS['wpaas_cache_class']->purge();
	}


}