Skip to content
Snippets Groups Projects
Commit 55b758f5 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

dont store the historical version twice

parent 752782a3
No related branches found
No related tags found
No related merge requests found
...@@ -492,8 +492,15 @@ sub hdl_object ...@@ -492,8 +492,15 @@ sub hdl_object
elsif ($x_orig && !$x_hist) elsif ($x_orig && !$x_hist)
{ {
$status= 'old'; $status= 'old';
$pt_obj= $self->get_page ($x_orig);
$pt_obj->{'x_hist'}->{$d_id}; ## Don't know, why we should record the page id of an historical
## version into the original version again, maybe just to check,
## if the collection "historicalVersion" was complete. Let's
## keep it commented for now.
# $pt_obj= $self->get_page ($x_orig);
# $pt_obj->{'x_hist'}->{$d_id}++;
# push (@{$pt_obj->{'x_hist'}}, $d_id);
} }
else else
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment