Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer
Conflicts: indra/newview/llspeakers.cpp Compile fixes: indra/newview/llgroupmgr.cpp - uncomment new API for GroupBanDataResponder
This commit is contained in:
@@ -231,7 +231,7 @@ public:
|
||||
private:
|
||||
static std::string sPreviousReason;
|
||||
|
||||
void error(U32 status, const std::string& reason)
|
||||
void httpFailure(void)
|
||||
{
|
||||
// <singu> Prevent 404s from annoying the user all the tme
|
||||
if (status == HTTP_NOT_FOUND)
|
||||
@@ -239,15 +239,15 @@ private:
|
||||
else
|
||||
// </singu>
|
||||
// Do not display the same error more than once in a row
|
||||
if (reason != sPreviousReason)
|
||||
if (mReason != sPreviousReason)
|
||||
{
|
||||
sPreviousReason = reason;
|
||||
sPreviousReason = mReason;
|
||||
LLSD args;
|
||||
args["REASON"] = reason;
|
||||
args["REASON"] = mReason;
|
||||
LLNotificationsUtil::add("DefaultObjectPermissions", args);
|
||||
}
|
||||
}
|
||||
void result(const LLSD& content)
|
||||
void httpSuccess(void)
|
||||
{
|
||||
// Since we have had a successful POST call be sure to display the next error message
|
||||
// even if it is the same as a previous one.
|
||||
|
||||
Reference in New Issue
Block a user