mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 12:33:18 +00:00
Merge pull request #635 from mwoodiupui/DS-2128
[DS-2128] Eliminate dspace.cfg:db.name
This commit is contained in:
@@ -531,11 +531,7 @@ public class Bitstream extends DSpaceObject
|
||||
*/
|
||||
void delete() throws SQLException
|
||||
{
|
||||
boolean oracle = false;
|
||||
if ("oracle".equals(ConfigurationManager.getProperty("db.name")))
|
||||
{
|
||||
oracle = true;
|
||||
}
|
||||
boolean oracle = DatabaseManager.isOracle();
|
||||
|
||||
// changed to a check on remove
|
||||
// Check authorisation
|
||||
|
Reference in New Issue
Block a user