Whitespace updates.
This commit is contained in:
parent
2906f97dd9
commit
dbde94fc34
|
@ -47,7 +47,6 @@ if (!defined('STATUSNET')) {
|
||||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||||
* @link http://status.net/
|
* @link http://status.net/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class XCachePlugin extends Plugin
|
class XCachePlugin extends Plugin
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -60,7 +59,6 @@ class XCachePlugin extends Plugin
|
||||||
*
|
*
|
||||||
* @return boolean hook success
|
* @return boolean hook success
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onStartCacheGet(&$key, &$value)
|
function onStartCacheGet(&$key, &$value)
|
||||||
{
|
{
|
||||||
if (!xcache_isset($key)) {
|
if (!xcache_isset($key)) {
|
||||||
|
@ -84,7 +82,6 @@ class XCachePlugin extends Plugin
|
||||||
*
|
*
|
||||||
* @return boolean hook success
|
* @return boolean hook success
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success)
|
function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success)
|
||||||
{
|
{
|
||||||
$success = xcache_set($key, serialize($value));
|
$success = xcache_set($key, serialize($value));
|
||||||
|
@ -102,7 +99,6 @@ class XCachePlugin extends Plugin
|
||||||
*
|
*
|
||||||
* @return boolean hook success
|
* @return boolean hook success
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onStartCacheDelete(&$key, &$success)
|
function onStartCacheDelete(&$key, &$success)
|
||||||
{
|
{
|
||||||
$success = xcache_unset($key);
|
$success = xcache_unset($key);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user