mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 18:08:21 +01:00
Use a proper constant for diff marker
This commit is contained in:
parent
39e7820520
commit
73600bb541
@ -191,6 +191,12 @@ abstract class Tracking
|
||||
*/
|
||||
const ONE2N_SEPERATOR = '~|~';
|
||||
|
||||
/**
|
||||
* Marker for change stored as unified diff, not old/new value
|
||||
* Diff is in the new value, marker in old value
|
||||
*/
|
||||
const DIFF_MARKER = '***diff***';
|
||||
|
||||
/**
|
||||
* Config name for custom notification message
|
||||
*/
|
||||
@ -463,7 +469,7 @@ abstract class Tracking
|
||||
$status,
|
||||
$data[$this->id_field],
|
||||
$renderer->render($diff),
|
||||
'***diff***'
|
||||
self::DIFF_MARKER
|
||||
);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user