You are here

public function VariableStoreRealmController::variable_del in Variable 7

Delete single variable.

Parameters

$name: Variable name

Overrides VariableRealmDefaultController::variable_del

File

variable_store/variable_store.class.inc, line 34
Variable realm controller

Class

VariableStoreRealmController
@file Variable realm controller

Code

public function variable_del($name) {

  // Since $variables is a reference we just need to delete the store value.
  variable_store_del($this->realm, $this->key, $name);
}