Fixed saving new ContractconfigValuest
This commit is contained in:
@@ -19,8 +19,8 @@ abstract class Contractconfig_Hook {
|
||||
abstract public function beforeSave();
|
||||
abstract public function afterSave();
|
||||
|
||||
abstract public function beforeDelete();
|
||||
abstract public function afterDelete();
|
||||
abstract public function beforeCancel();
|
||||
abstract public function afterCancel();
|
||||
|
||||
|
||||
public function __construct(Contract $contract) {
|
||||
|
||||
@@ -85,6 +85,7 @@ class Contractconfig_Hook_Voicenumberblock extends Contractconfig_Hook {
|
||||
|
||||
/*
|
||||
* TODO: Check if contract was canceled, then set lock and lock_reason to reserved
|
||||
* => should go into beforeCancel event
|
||||
*/
|
||||
public function checkNewNumbers() {
|
||||
$this->log->debug(":: In Contractconfig_Hook_Voicenumberblock->afterSave()");
|
||||
@@ -158,11 +159,11 @@ class Contractconfig_Hook_Voicenumberblock extends Contractconfig_Hook {
|
||||
|
||||
}
|
||||
|
||||
public function beforeDelete() {
|
||||
public function beforeCancel() {
|
||||
|
||||
}
|
||||
|
||||
public function afterDelete() {
|
||||
public function afterCancel() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user