summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-08-14 23:25:40 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-08-14 23:30:35 +0200
commit600ea64eb5e24b655965ff3b45cd56b649de2848 (patch)
treee8f4ca199cc6dae6352e0cee54551645e0de68ee /indra/newview
parent7ea406355c4e3efc25303cb1f51637ac3e0f326d (diff)
SL-19528 Remove PERMISSION_DEBIT warning (revert recent change)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewermessage.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index ce29238667..e7456f77bb 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -5815,22 +5815,6 @@ void process_script_question(LLMessageSystem *msg, void **user_data)
args["OBJECTNAME"] = object_name;
args["NAME"] = clean_owner_name;
S32 known_questions = 0;
-
- // SL-19346, SL-19528 - No DEBIT warning for GRID & PRIVILEGED
- if (experienceid.notNull())
- {
- const LLSD& experience = LLExperienceCache::instance().get(experienceid);
- if (!experience.isUndefined())
- {
- S32 properties = experience[LLExperienceCache::PROPERTIES].asInteger();
- if ((properties | LLExperienceCache::PROPERTY_GRID) &&
- (properties | LLExperienceCache::PROPERTY_PRIVILEGED))
- {
- questions ^= SCRIPT_PERMISSIONS[SCRIPT_PERMISSION_DEBIT].permbit;
- }
- }
- }
-
bool has_not_only_debit = questions ^ SCRIPT_PERMISSIONS[SCRIPT_PERMISSION_DEBIT].permbit;
// check the received permission flags against each permission
BOOST_FOREACH(script_perm_t script_perm, SCRIPT_PERMISSIONS)