You are here

public function OgAccess::reset in Organic groups 8

Resets the static cache.

Overrides OgAccessInterface::reset

Deprecated

in og:8.x-1.0-alpha6 and is removed from og:8.x-1.0-beta1. The static cache has been removed and this method no longer serves any purpose. Any calls to this method can safely be removed.

See also

https://github.com/Gizra/og/issues/654

File

src/OgAccess.php, line 332

Class

OgAccess
The service that determines if users have access to groups and group content.

Namespace

Drupal\og

Code

public function reset() : void {
  trigger_error('OgAccessInterface::reset() is deprecated in og:8.1.0-alpha6 and is removed from og:8.1.0-beta1. The static cache has been removed and this method no longer serves any purpose. Any calls to this method can safely be removed. See https://github.com/Gizra/og/issues/654', E_USER_DEPRECATED);
}