Index: branches/RC/core/kernel/db/dbitem.php =================================================================== diff -u -r10294 -r10334 --- branches/RC/core/kernel/db/dbitem.php (.../dbitem.php) (revision 10294) +++ branches/RC/core/kernel/db/dbitem.php (.../dbitem.php) (revision 10334) @@ -982,10 +982,16 @@ } } + /** + * Determines, that changes made to this item should be written to change log + * + * @return bool + */ function ShouldLogChanges() { - /* @todo Replace true with global LogChanges option */ - return ($this->Application->getUnitOption($this->Prefix, 'LogChanges') || true) && !$this->Application->getUnitOption($this->Prefix, 'ForceDontLogChanges'); + $log_changes = $this->Application->getUnitOption($this->Prefix, 'LogChanges') || $this->Application->ConfigValue('UseChangeLog'); + + return $log_changes && !$this->Application->getUnitOption($this->Prefix, 'ForceDontLogChanges'); } function LogChanges($main_prefix, $mode)