src/snac/server/database/DBUtil.php
/**
     * Update MaybeSame Links
     *
     * Update the maybe_same table so that maybesame links to the oldConstellation will be automatically redirected
     * to point to the newConstellation.
     *
     * @param \snac\data\Constellation $oldConstellation The constellation to redirect
     * @param \snac\data\Constellation $newConstellation The constellation to replace oldConstellation
     * @return boolean true on success, false otherwise
     */
Update MaybeSame Links
Update the maybe_same table so that maybesame links to the oldConstellation will be automatically redirected
to point to the newConstellation.


Update MaybeSame Links Update the maybe_same table so that maybesame links to the oldConstellation will be automatically redirected to point to the newConstellation .
public function updateMaybeSameLinks(&$oldConstellation, &$newConstellation) {
        if ($oldConstellation === null || $newConstellation === null)
            return false;
        if ($oldConstellation->getID() === null || $newConstellation->getID() === null)
            return false;
        $this->sql->updateMaybeSameLinks($oldConstellation->getID(), $newConstellation->getID());
        return true;
    }
public function updateMaybeSameLinks ( & $ oldConstellation , & $ newConstellation ) { if ( $ oldConstellation === null || $ newConstellation === null ) return false ; if ( $ oldConstellation -> getID ( ) === null || $ newConstellation -> getID ( ) === null ) return false ; $ this -> sql -> updateMaybeSameLinks ( $ oldConstellation -> getID ( ) , $ newConstellation -> getID ( ) ) ; return true ; }
Update MaybeSame Links
 Update the maybe_same table so that maybesame links to the oldConstellation will be automatically redirected
 to point to the newConstellation.
Update MaybeSame Links Update the maybe_same table so that maybesame links to the oldConstellation will be automatically redirected to point to the newConstellation .