You are here

function oa_core_revert_template in Open Atrium Core 7.2

This is called when all modules, using oa_core_features_template_revert(), have registered for a template revert.

Parameters

string $variable: Variable name to delete.

1 string reference to 'oa_core_revert_template'
oa_core_features_template_revert in includes/oa_core.util.inc
Helper to combine multiple calls in OA to features_template_revert() to just a single call.

File

includes/oa_core.util.inc, line 1905
Code for Utility functions for OpenAtrium spaces

Code

function oa_core_revert_template($variable) {
  features_template_revert();
  variable_delete($variable);
}