Document and Transaction trait getSettingKey function replace get{Document/Transaction}SettingKey

This commit is contained in:
Cüneyt Şentürk
2023-04-12 14:58:35 +03:00
parent a084f83839
commit ee5822f062
8 changed files with 105 additions and 84 deletions

View File

@@ -47,7 +47,7 @@ class SettingFieldCreated
continue;
}
$real_key = $this->getSettingKey($type, $key);
$real_key = $this->getDocumentSettingKey($type, $key);
setting()->set($real_key, $value);
}
@@ -71,7 +71,7 @@ class SettingFieldCreated
continue;
}
$real_key = setting($this->getSettingKey($type, $key));
$real_key = setting($this->getDocumentSettingKey($type, $key));
setting()->set($real_key, $value);
}