[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Mon Jul 25 21:30:38 UTC 2005


mwilkinson
Mon Jul 25 17:30:38 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv21742/MOBY

Modified Files:
	OntologyServer.pm 
Log Message:
more of the same.  Pass hashes instead of hashrefs, and avoid passing database ids

moby-live/Perl/MOBY OntologyServer.pm,1.56,1.57
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/OntologyServer.pm,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- /home/repository/moby/moby-live/Perl/MOBY/OntologyServer.pm	2005/07/25 21:13:51	1.56
+++ /home/repository/moby/moby-live/Perl/MOBY/OntologyServer.pm	2005/07/25 21:30:38	1.57
@@ -371,12 +371,6 @@
 		return ( 0, "Delete from Object Class table failed: $errstr",
 				 $lsid );
 	}
-	($err, $errstr) = $adaptor->delete_object_term2term({object1_id => $id});
-	if ( $err ) {
-		return ( 0,
-				"Delete from Object term2term table failed: $errstr",
-				$lsid );
-	}
 	return ( 1, "Object $term Deleted", $lsid );
 }
 




More information about the MOBY-guts mailing list