public static function check()
 {
     $v = get_option("ws_plugin__qcache_activated_version");
     /**/
     if (!$v || !version_compare($v, WS_PLUGIN__QCACHE_VERSION, ">=")) {
         c_ws_plugin__qcache_installation::activate();
     }
     /**/
     return;
     /* Return for uniformity. */
 }
示例#2
0
function ws_plugin__qcache_deactivate()
{
    return c_ws_plugin__qcache_installation::deactivate();
}