mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
(Scott Phillips)
- Seperated data from query text using the new DatabaseManager methods based on Prepared Statements. git-svn-id: http://scm.dspace.org/svn/repo/trunk@1519 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -251,9 +251,8 @@ public class CommunityFiliator
|
||||
// OK remove the mappings - but leave the community, which will become
|
||||
// top-level
|
||||
DatabaseManager.updateQuery(c,
|
||||
"DELETE FROM community2community WHERE parent_comm_id="
|
||||
+ parent.getID() + " AND child_comm_id="
|
||||
+ child.getID());
|
||||
"DELETE FROM community2community WHERE parent_comm_id= ? "+
|
||||
"AND child_comm_id= ? ", parent.getID(), child.getID());
|
||||
|
||||
// complete the pending transaction
|
||||
c.complete();
|
||||
|
Reference in New Issue
Block a user