Edit File by line
/home/barbar84/www/wp-conte.../plugins/updraftp.../includes/Google/Cache
File: Null.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* Copyright 2014 Google Inc.
[2] Fix | Delete
*
[3] Fix | Delete
* Licensed under the Apache License, Version 2.0 (the "License");
[4] Fix | Delete
* you may not use this file except in compliance with the License.
[5] Fix | Delete
* You may obtain a copy of the License at
[6] Fix | Delete
*
[7] Fix | Delete
* http://www.apache.org/licenses/LICENSE-2.0
[8] Fix | Delete
*
[9] Fix | Delete
* Unless required by applicable law or agreed to in writing, software
[10] Fix | Delete
* distributed under the License is distributed on an "AS IS" BASIS,
[11] Fix | Delete
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
[12] Fix | Delete
* See the License for the specific language governing permissions and
[13] Fix | Delete
* limitations under the License.
[14] Fix | Delete
*/
[15] Fix | Delete
[16] Fix | Delete
if (!class_exists('UDP_Google_Client')) {
[17] Fix | Delete
require_once dirname(__FILE__) . '/../autoload.php';
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
/**
[21] Fix | Delete
* A blank storage class, for cases where caching is not
[22] Fix | Delete
* required.
[23] Fix | Delete
*/
[24] Fix | Delete
class Google_Cache_Null extends Google_Cache_Abstract
[25] Fix | Delete
{
[26] Fix | Delete
public function __construct(UDP_Google_Client $client)
[27] Fix | Delete
{
[28] Fix | Delete
[29] Fix | Delete
}
[30] Fix | Delete
[31] Fix | Delete
/**
[32] Fix | Delete
* @inheritDoc
[33] Fix | Delete
*/
[34] Fix | Delete
public function get($key, $expiration = false)
[35] Fix | Delete
{
[36] Fix | Delete
return false;
[37] Fix | Delete
}
[38] Fix | Delete
[39] Fix | Delete
/**
[40] Fix | Delete
* @inheritDoc
[41] Fix | Delete
*/
[42] Fix | Delete
public function set($key, $value)
[43] Fix | Delete
{
[44] Fix | Delete
// Nop.
[45] Fix | Delete
}
[46] Fix | Delete
[47] Fix | Delete
/**
[48] Fix | Delete
* @inheritDoc
[49] Fix | Delete
* @param String $key
[50] Fix | Delete
*/
[51] Fix | Delete
public function delete($key)
[52] Fix | Delete
{
[53] Fix | Delete
// Nop.
[54] Fix | Delete
}
[55] Fix | Delete
}
[56] Fix | Delete
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function