01acfa3b40
Type checking / changes (push) Has been cancelled
Type checking / test (push) Has been cancelled
Type checking / typescript-summary (push) Has been cancelled
Node tests / changes (push) Has been cancelled
Node tests / test (push) Has been cancelled
Node tests / test-summary (push) Has been cancelled
Источник: https://github.com/nextcloud/spreed/archive/refs/tags/v22.0.12.tar.gz С этого коммита ветка официального Nextcloud Talk отрезана (решение владельца 2026-07-06). Все дальнейшие изменения — только наши; версии релизов: 22.0.12-f7.N.
52 lines
905 B
PHP
52 lines
905 B
PHP
<?php
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
namespace OC\Memcache {
|
|
|
|
use OCP\IMemcache;
|
|
|
|
class NullCache implements IMemcache {
|
|
public function add($key, $value, $ttl = 0) {
|
|
}
|
|
|
|
public function inc($key, $step = 1) {
|
|
}
|
|
|
|
public function dec($key, $step = 1) {
|
|
}
|
|
|
|
public function cas($key, $old, $new) {
|
|
}
|
|
|
|
public function cad($key, $old) {
|
|
}
|
|
|
|
public function ncad(string $key, mixed $old): bool {
|
|
}
|
|
}
|
|
|
|
class ArrayCache implements IMemcache {
|
|
public function add($key, $value, $ttl = 0) {
|
|
}
|
|
|
|
public function inc($key, $step = 1) {
|
|
}
|
|
|
|
public function dec($key, $step = 1) {
|
|
}
|
|
|
|
public function cas($key, $old, $new) {
|
|
}
|
|
|
|
public function cad($key, $old) {
|
|
}
|
|
|
|
public function ncad(string $key, mixed $old): bool {
|
|
}
|
|
}
|
|
}
|