Skip to content
Snippets Groups Projects
Commit fd03a4cf authored by Uma's avatar Uma
Browse files

Merge branch '1610_vtws_history_unlink' into '7.4.0'

Include unlink information. Refs #1610

Fixes issue raised in #1610.

See merge request !808
parents 9b588dca c392f84a
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ function vtws_history($element, $user) {
while ($row = $adb->fetch_array($result)) {
$orderedIds[] = $row['id'];
if ($row['status'] === ModTracker::$LINK) {
if ($row['status'] === ModTracker::$LINK || $row['status'] === ModTracker::$UNLINK) {
$relationOrderedIds[] = $row['id'];
} else {
$updatesOrderedIds[] = $row['id'];
......@@ -200,4 +200,4 @@ function vtws_history_entityIdHelper($moduleName, $id) {
$wsEntityIdCache[$moduleName][$id] = vtws_getWebserviceEntityId($moduleName, $id);
}
return $wsEntityIdCache[$moduleName][$id];
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment