src/snac/server/database/DBUtil.php
/**
     * Replace Resource Relation Resource
     * Replaces all Resource Relations of $victim resource with $target resource for Resource merge
     * Warning: Does not maintain version history.
     *
     * @param \snac\data\Resource $victim
     * @param \snac\data\Resource $target
     */
Replace Resource Relation Resource
Replaces all Resource Relations of $victim resource with $target resource for Resource merge
Warning: Does not maintain version history.


Replace Resource Relation Resource Replaces all Resource Relations of $victim resource with $target resource for Resource merge Warning : Does not maintain version history .
public function replaceResourceRelationResource($victim, $target) {
        $victimID = $victim->getID();
        $victimVersion = $victim->getVersion();
        $targetID = $target->getID();
        $targetVersion = $target->getVersion();
        $this->sql->replaceResourceRelationResource($victimID, $victimVersion, $targetID, $targetVersion);
    }
public function replaceResourceRelationResource ( $ victim , $ target ) { $ victimID = $ victim -> getID ( ) ; $ victimVersion = $ victim -> getVersion ( ) ; $ targetID = $ target -> getID ( ) ; $ targetVersion = $ target -> getVersion ( ) ; $ this -> sql -> replaceResourceRelationResource ( $ victimID , $ victimVersion , $ targetID , $ targetVersion ) ; }
Replace Resource Relation Resource
 Replaces all Resource Relations of $victim resource with $target resource for Resource merge
 Warning: Does not maintain version history.
Replace Resource Relation Resource Replaces all Resource Relations of $victim resource with $target resource for Resource merge Warning : Does not maintain version history .