mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-03-09 12:01:04 +00:00
no use for setting/getting defaultuser, it just adds confusion.
This commit is contained in:
parent
2df6ff2420
commit
277c917b53
1
INSTALL
1
INSTALL
@ -14,6 +14,7 @@ libtorrent's.
|
||||
1) Start with libtorrent:
|
||||
|
||||
$ cd libtorrent
|
||||
$ ./bootstrap.sh
|
||||
$ ./configure --enable-logging --enable-debug --enable-dht
|
||||
|
||||
Note1: 64-bit systems may need "--with-boost-libdir=/usr/lib64"
|
||||
|
@ -255,8 +255,6 @@ static const CRPCCommand vRPCCommands[] =
|
||||
{ "getfollowing", &getfollowing, false, true },
|
||||
{ "getlasthave", &getlasthave, false, true },
|
||||
{ "listusernamespartial", &listusernamespartial, false, true },
|
||||
{ "getdefaultuser", &getdefaultuser, false, true },
|
||||
{ "setdefaultuser", &setdefaultuser, false, true },
|
||||
{ "rescandirectmsgs", &rescandirectmsgs, false, true },
|
||||
};
|
||||
|
||||
|
@ -207,8 +207,6 @@ extern json_spirit::Value unfollow(const json_spirit::Array& params, bool fHelp)
|
||||
extern json_spirit::Value getfollowing(const json_spirit::Array& params, bool fHelp);
|
||||
extern json_spirit::Value getlasthave(const json_spirit::Array& params, bool fHelp);
|
||||
extern json_spirit::Value listusernamespartial(const json_spirit::Array& params, bool fHelp);
|
||||
extern json_spirit::Value getdefaultuser(const json_spirit::Array& params, bool fHelp);
|
||||
extern json_spirit::Value setdefaultuser(const json_spirit::Array& params, bool fHelp);
|
||||
extern json_spirit::Value rescandirectmsgs(const json_spirit::Array& params, bool fHelp);
|
||||
|
||||
#endif
|
||||
|
@ -153,6 +153,10 @@ Value listwalletusers(const Array& params, bool fHelp)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* [mf] no use for setting/getting defaultuser, it just adds confusion.
|
||||
all commands should receive user as parameter (including the user for spammsg).
|
||||
*/
|
||||
#if 0
|
||||
Value setdefaultuser(const Array& params, bool fHelp)
|
||||
{
|
||||
if (fHelp || params.size() != 1)
|
||||
@ -199,7 +203,7 @@ Value getdefaultuser(const Array& params, bool fHelp)
|
||||
|
||||
return username;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Value signmessage(const Array& params, bool fHelp)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user