Skip to content
Snippets Groups Projects
Commit c392f84a authored by Alan Lord's avatar Alan Lord
Browse files

Include unlink information. Refs #1610

parent 7923ea63
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