You are here

function node_limit_disable in Node Limit 8

Same name and namespace in other branches
  1. 7 node_limit.install \node_limit_disable()

Implements hook_disable().

File

old/node_limit.install, line 86

Code

function node_limit_disable() {
  \Drupal::database()
    ->delete('variable')
    ->condition('name', 'node_limit_%', 'LIKE')
    ->execute();
}