Merge pull request #635 from mwoodiupui/DS-2128

[DS-2128] Eliminate dspace.cfg:db.name
This commit is contained in:
Mark H. Wood
2014-09-19 13:46:13 -04:00
25 changed files with 906 additions and 233 deletions

View File

@@ -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