forked from extern/egroupware
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 = '~|~';
|
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
|
* Config name for custom notification message
|
||||||
*/
|
*/
|
||||||
@ -463,7 +469,7 @@ abstract class Tracking
|
|||||||
$status,
|
$status,
|
||||||
$data[$this->id_field],
|
$data[$this->id_field],
|
||||||
$renderer->render($diff),
|
$renderer->render($diff),
|
||||||
'***diff***'
|
self::DIFF_MARKER
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user