Skip to content

Commit

Permalink
Merge branch 'bug/191_update_cs_cache_independent_from_toStringConver…
Browse files Browse the repository at this point in the history
…ter' into dev
  • Loading branch information
therter committed Nov 18, 2016
2 parents b312e6b + 6d70c5e commit e500c64
Showing 1 changed file with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,11 @@ public void afterUpdate(final CidsBean cidsBean, final User user) {
@Override
protected ResultSet doInBackground() throws Exception {
try {
final String name = cidsBean.toString();
if ((name == null) || name.equals("")) {
getDbServer().getActiveDBConnection()
.submitInternalUpdate(
DBConnection.DESC_DELETE_CACHEENTRY,
return getDbServer().getActiveDBConnection()
.submitInternalQuery(
DBConnection.DESC_UPDATE_CACHEENTRY,
cidsBean.getMetaObject().getClassID(),
cidsBean.getMetaObject().getID());
return null;
} else {
return getDbServer().getActiveDBConnection()
.submitInternalQuery(
DBConnection.DESC_UPDATE_CACHEENTRY,
cidsBean.getMetaObject().getClassID(),
cidsBean.getMetaObject().getID());
}
} catch (SQLException e) {
getDbServer().getActiveDBConnection()
.submitInternalUpdate(
Expand Down

0 comments on commit e500c64

Please sign in to comment.