aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-28 16:04:01 +0000
committerJustin Clarke Casey2008-11-28 16:04:01 +0000
commit18974b77668553a9fd1bba0b646bfc7a0d788bcb (patch)
treec144c255e2057a42a0a54a42d50b892e4fafb739 /OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
parent* refactor: move ResetUserPassword into UserServiceAdmin (diff)
downloadopensim-SC-18974b77668553a9fd1bba0b646bfc7a0d788bcb.zip
opensim-SC-18974b77668553a9fd1bba0b646bfc7a0d788bcb.tar.gz
opensim-SC-18974b77668553a9fd1bba0b646bfc7a0d788bcb.tar.bz2
opensim-SC-18974b77668553a9fd1bba0b646bfc7a0d788bcb.tar.xz
* refactor: rename UserServiceAdmin to UserAdminService
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index 7f7689d..cf60484 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -474,7 +474,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
474 { 474 {
475 m_log.InfoFormat("master avatar does not exist, creating it"); 475 m_log.InfoFormat("master avatar does not exist, creating it");
476 // ...or create new user 476 // ...or create new user
477 userID = m_app.CommunicationsManager.UserServiceAdmin.AddUser( 477 userID = m_app.CommunicationsManager.UserAdminService.AddUser(
478 masterFirst, masterLast, masterPassword, "", region.RegionLocX, region.RegionLocY); 478 masterFirst, masterLast, masterPassword, "", region.RegionLocX, region.RegionLocY);
479 479
480 if (userID == UUID.Zero) throw new Exception(String.Format("failed to create new user {0} {1}", 480 if (userID == UUID.Zero) throw new Exception(String.Format("failed to create new user {0} {1}",
@@ -671,7 +671,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
671 throw new Exception(String.Format("avatar {0} {1} already exists", firstname, lastname)); 671 throw new Exception(String.Format("avatar {0} {1} already exists", firstname, lastname));
672 672
673 UUID userID 673 UUID userID
674 = m_app.CommunicationsManager.UserServiceAdmin.AddUser( 674 = m_app.CommunicationsManager.UserAdminService.AddUser(
675 firstname, lastname, passwd, email, regX, regY); 675 firstname, lastname, passwd, email, regX, regY);
676 676
677 if (userID == UUID.Zero) throw new Exception(String.Format("failed to create new user {0} {1}", 677 if (userID == UUID.Zero) throw new Exception(String.Format("failed to create new user {0} {1}",
@@ -769,7 +769,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
769 throw new Exception(String.Format("avatar {0} {1} already exists", firstname, lastname)); 769 throw new Exception(String.Format("avatar {0} {1} already exists", firstname, lastname));
770 770
771 UUID userID 771 UUID userID
772 = m_app.CommunicationsManager.UserServiceAdmin.AddUser( 772 = m_app.CommunicationsManager.UserAdminService.AddUser(
773 firstname, lastname, passwd, email, regX, regY); 773 firstname, lastname, passwd, email, regX, regY);
774 774
775 if (userID == UUID.Zero) throw new Exception(String.Format("failed to create new user {0} {1}", 775 if (userID == UUID.Zero) throw new Exception(String.Format("failed to create new user {0} {1}",