You are here

function commerce_license_activate_action in Commerce License 7

Activates the provided license.

File

./commerce_license.module, line 1260
Provides a framework for selling access to local or remote resources.

Code

function commerce_license_activate_action($license, $context = array()) {
  $license
    ->activate();
}