usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rockers...@apache.org
Subject [2/3] incubator-usergrid git commit: Removed extra unused code.
Date Thu, 13 Nov 2014 01:04:43 GMT
Removed extra unused code.


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/730f1e7b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/730f1e7b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/730f1e7b

Branch: refs/heads/master
Commit: 730f1e7b291513b186b49c8fdb35ca3159943c7f
Parents: 52ff7b9
Author: grey <greyes@apigee.com>
Authored: Tue Sep 30 14:54:07 2014 -0700
Committer: grey <greyes@apigee.com>
Committed: Wed Oct 1 09:58:18 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/usergrid/tools/ResetSuperUser.java   | 11 -----------
 1 file changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/730f1e7b/stack/tools/src/main/java/org/apache/usergrid/tools/ResetSuperUser.java
----------------------------------------------------------------------
diff --git a/stack/tools/src/main/java/org/apache/usergrid/tools/ResetSuperUser.java b/stack/tools/src/main/java/org/apache/usergrid/tools/ResetSuperUser.java
index c188ff2..82dc189 100644
--- a/stack/tools/src/main/java/org/apache/usergrid/tools/ResetSuperUser.java
+++ b/stack/tools/src/main/java/org/apache/usergrid/tools/ResetSuperUser.java
@@ -90,17 +90,6 @@ public class ResetSuperUser extends ToolBase {
     public void runTool( CommandLine line ) throws Exception {
         startSpring();
 
-        // force the props to be set
-        AccountCreationProps props =  ( ( ManagementServiceImpl ) managementService ).getAccountCreationProps();
-
-        props.setProperty( PROPERTIES_SYSADMIN_LOGIN_ALLOWED, "true" );
-        props.setProperty( PROPERTIES_SYSADMIN_LOGIN_NAME, line.getOptionValue( "username"
) );
-        props.setProperty( PROPERTIES_SYSADMIN_LOGIN_EMAIL, line.getOptionValue( "email"
) );
-        props.setProperty( PROPERTIES_SYSADMIN_LOGIN_PASSWORD, line.getOptionValue( "password"
) );
-
-
-
-
         System.out.println( "Starting superuser provision" );
 
         try {


Mime
View raw message