public function CommerceLicenseBase::expire in Commerce License 7
Implements CommerceLicenseInterface::expire().
Overrides CommerceLicenseInterface::expire
1 method overrides CommerceLicenseBase::expire()
- CommerceLicenseRemoteBase::expire in includes/
plugins/ license_type/ base.inc - Overrides CommerceLicenseBase::expire().
File
- includes/
plugins/ license_type/ base.inc, line 309 - Abstract and interface plugin implementation.
Class
- CommerceLicenseBase
- License base class.
Code
public function expire() {
$this->status = COMMERCE_LICENSE_EXPIRED;
$this
->save();
}