cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [04/34] git commit: updated refs/heads/ui-restyle to 23093ed
Date Thu, 26 Sep 2013 18:03:05 GMT
Don't check implementation version of Object for DatabaseUpgradeChecker

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9fb0a1a6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9fb0a1a6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9fb0a1a6

Branch: refs/heads/ui-restyle
Commit: 9fb0a1a61992f93e2105d9a99d507d48a108b0c7
Parents: 3dc4284
Author: Darren Shepherd <darren.s.shepherd@gmail.com>
Authored: Wed Sep 25 14:34:14 2013 +0200
Committer: Daan Hoogland <dhoogland@schubergphilis.com>
Committed: Wed Sep 25 14:34:14 2013 +0200

----------------------------------------------------------------------
 engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9fb0a1a6/engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java b/engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
index f001bf7..c107fa0 100755
--- a/engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
+++ b/engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
@@ -383,9 +383,6 @@ public class DatabaseUpgradeChecker implements SystemIntegrityChecker
{
             try {
                 String dbVersion = _dao.getCurrentVersion();
                 String currentVersion = this.getClass().getPackage().getImplementationVersion();
-                if (currentVersion == null) {
-                    currentVersion = this.getClass().getSuperclass().getPackage().getImplementationVersion();
-                }
 
                 if (currentVersion == null)
                     return;


Mime
View raw message