* Removes a given variable
*
* @param $variableName The variable we are looking for
+ * @param $variableGroup Name of variable group (default: 'general')
* @return void
*/
- public final function removeVariable ($variableName) {
+ public final function removeVariable ($variableName, $variableGroup = 'general') {
// Call the inner class' method
- $this->getTemplateInstance()->removeVariable($variableName);
+ $this->getTemplateInstance()->removeVariable($variableName, $variableGroup);
}
/**