Commit 511c4825 authored by Bill Lynch's avatar Bill Lynch Committed by bill

compile fix


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@387 b35dd754-fafc-0310-a699-88a17e54d16e
parent 83991276
...@@ -92,16 +92,16 @@ ...@@ -92,16 +92,16 @@
} }
User admin = userManager.getUser("admin"); User adminUser = userManager.getUser("admin");
admin.setPassword(newPassword); adminUser.setPassword(newPassword);
if (email != null) { if (email != null) {
admin.getInfo().setEmail(email); adminUser.getInfo().setEmail(email);
} }
Date now = new Date(); Date now = new Date();
admin.getInfo().setCreationDate(now); adminUser.getInfo().setCreationDate(now);
admin.getInfo().setModificationDate(now); adminUser.getInfo().setModificationDate(now);
admin.saveInfo(); adminUser.saveInfo();
// TODO: Check for Plugin // TODO: Check for Plugin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment