Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078
This commit is contained in:
parent
6419a031d7
commit
4afb23bbd3
762 changed files with 20080 additions and 6368 deletions
|
@ -44,7 +44,7 @@ class DatabaseBackend implements FloodInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\Core\Flood\FloodInterface::register().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function register($name, $window = 3600, $identifier = NULL) {
|
||||
if (!isset($identifier)) {
|
||||
|
@ -61,7 +61,7 @@ class DatabaseBackend implements FloodInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\Core\Flood\FloodInterface::clear().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function clear($name, $identifier = NULL) {
|
||||
if (!isset($identifier)) {
|
||||
|
@ -74,7 +74,7 @@ class DatabaseBackend implements FloodInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\Core\Flood\FloodInterface::isAllowed().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isAllowed($name, $threshold, $window = 3600, $identifier = NULL) {
|
||||
if (!isset($identifier)) {
|
||||
|
@ -91,7 +91,7 @@ class DatabaseBackend implements FloodInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\Core\Flood\FloodInterface::garbageCollection().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function garbageCollection() {
|
||||
return $this->connection->delete('flood')
|
||||
|
|
|
@ -37,7 +37,7 @@ class MemoryBackend implements FloodInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\Core\Flood\FloodInterface::register().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function register($name, $window = 3600, $identifier = NULL) {
|
||||
if (!isset($identifier)) {
|
||||
|
@ -50,7 +50,7 @@ class MemoryBackend implements FloodInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\Core\Flood\FloodInterface::clear().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function clear($name, $identifier = NULL) {
|
||||
if (!isset($identifier)) {
|
||||
|
@ -60,7 +60,7 @@ class MemoryBackend implements FloodInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\Core\Flood\FloodInterface::isAllowed().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isAllowed($name, $threshold, $window = 3600, $identifier = NULL) {
|
||||
if (!isset($identifier)) {
|
||||
|
@ -74,7 +74,7 @@ class MemoryBackend implements FloodInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\Core\Flood\FloodInterface::garbageCollection().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function garbageCollection() {
|
||||
foreach ($this->events as $name => $identifiers) {
|
||||
|
|
Reference in a new issue