diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-02-14 14:30:41 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-02-14 14:30:41 +0000 |
commit | fc7f0213bab5d14ae26423c78c0d9d221f93774a (patch) | |
tree | 7e92a757a34dfd39b3d2ada6185a433c41b3e69f /cpp/src/IceGrid/Database.cpp | |
parent | Backed out Ice.OA prefix addition (diff) | |
download | ice-fc7f0213bab5d14ae26423c78c0d9d221f93774a.tar.bz2 ice-fc7f0213bab5d14ae26423c78c0d9d221f93774a.tar.xz ice-fc7f0213bab5d14ae26423c78c0d9d221f93774a.zip |
Removed support for removed Ice.OA property prefix
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r-- | cpp/src/IceGrid/Database.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp index a218286775a..0c1a4a1d59e 100644 --- a/cpp/src/IceGrid/Database.cpp +++ b/cpp/src/IceGrid/Database.cpp @@ -74,23 +74,7 @@ Database::Database(const Ice::ObjectAdapterPtr& registryAdapter, { try { - // - // Create an application helper for the application - // without instantiating. The application might be invalid - // if we need to upgrade it. - // - ApplicationInfo info = p->second; - - ApplicationHelper helper(_communicator, p->second.descriptor, false, false); - if(helper.upgrade(info.descriptor)) - { - ++info.revision; - info.updateUser = "IceGrid Registry (database upgrade)"; - info.updateTime = IceUtil::Time::now().toMilliSeconds(); - p.set(info); - } - - load(ApplicationHelper(_communicator, info.descriptor), entries, info.uuid, info.revision); + load(ApplicationHelper(_communicator, p->second.descriptor), entries, p->second.uuid, p->second.revision); } catch(const DeploymentException& ex) { |