if (old != null)
{
session.remove(old);
// update last modified of element linked to toDelete if needed
final LastModified lastModified = manager.lastModifiedToUpdateOnDelete(session);
if (lastModified != null)
{
lastModified.setLastModified(SupportsLastModified.now());
}
closeSession(true);
return true;
}
else