diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-05-28 17:01:11 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-05-28 17:01:11 +0200 |
commit | 9bb64c7c90e6481ed3689a2b9380496da4ce09ff (patch) | |
tree | eed57f40eb091e01e78f155a368feea018f1fdab /src/modules | |
parent | 033145b65c543d1d6c0c05ee84c1031fcd5ba3c7 (diff) | |
download | mad-9bb64c7c90e6481ed3689a2b9380496da4ce09ff.tar mad-9bb64c7c90e6481ed3689a2b9380496da4ce09ff.zip |
getUserGroups und getGroupUsers in getUserGroupList und getGroupUserList umbenannt
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/UserBackendMysql/UserBackendMysql.cpp | 4 | ||||
-rw-r--r-- | src/modules/UserBackendMysql/UserBackendMysql.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/UserBackendMysql/UserBackendMysql.cpp b/src/modules/UserBackendMysql/UserBackendMysql.cpp index 6cc5b2f..b020310 100644 --- a/src/modules/UserBackendMysql/UserBackendMysql.cpp +++ b/src/modules/UserBackendMysql/UserBackendMysql.cpp @@ -229,7 +229,7 @@ boost::shared_ptr<Common::UserInfo> UserBackendMysql::getUserInfoByName(const st throw Net::Exception(Net::Exception::NOT_AVAILABLE); } -boost::shared_ptr<std::set<unsigned long> > UserBackendMysql::getUserGroups(unsigned long uid) throw(Net::Exception) { +boost::shared_ptr<std::set<unsigned long> > UserBackendMysql::getUserGroupList(unsigned long uid) throw(Net::Exception) { Net::ThreadManager::get()->detach(); if(mysql_ping(mysql)) @@ -335,7 +335,7 @@ unsigned long UserBackendMysql::getGroupId(const std::string &name) throw(Net::E throw Net::Exception(Net::Exception::NOT_AVAILABLE); } -boost::shared_ptr<std::set<unsigned long> > UserBackendMysql::getGroupUsers(unsigned long gid) throw(Net::Exception) { +boost::shared_ptr<std::set<unsigned long> > UserBackendMysql::getGroupUserList(unsigned long gid) throw(Net::Exception) { Net::ThreadManager::get()->detach(); if(mysql_ping(mysql)) diff --git a/src/modules/UserBackendMysql/UserBackendMysql.h b/src/modules/UserBackendMysql/UserBackendMysql.h index 71ee93f..26c7ef3 100644 --- a/src/modules/UserBackendMysql/UserBackendMysql.h +++ b/src/modules/UserBackendMysql/UserBackendMysql.h @@ -53,12 +53,12 @@ class UserBackendMysql : public Server::UserBackend, private Common::Configurabl virtual boost::shared_ptr<std::map<unsigned long, Common::UserInfo> > getUserList() throw(Net::Exception); virtual boost::shared_ptr<Common::UserInfo> getUserInfo(unsigned long uid) throw(Net::Exception); virtual boost::shared_ptr<Common::UserInfo> getUserInfoByName(const std::string &name) throw(Net::Exception); - virtual boost::shared_ptr<std::set<unsigned long> > getUserGroups(unsigned long uid) throw(Net::Exception); + virtual boost::shared_ptr<std::set<unsigned long> > getUserGroupList(unsigned long uid) throw(Net::Exception); virtual boost::shared_ptr<std::map<unsigned long, Common::GroupInfo> > getGroupList() throw(Net::Exception); virtual std::string getGroupName(unsigned long gid) throw(Net::Exception); virtual unsigned long getGroupId(const std::string &name) throw(Net::Exception); - virtual boost::shared_ptr<std::set<unsigned long> > getGroupUsers(unsigned long gid) throw(Net::Exception); + virtual boost::shared_ptr<std::set<unsigned long> > getGroupUserList(unsigned long gid) throw(Net::Exception); public: virtual ~UserBackendMysql() { |