summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/LLNotification.lua
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-06-20 16:21:17 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-06-20 16:21:17 -0400
commit6d29c1fcf80441cc4619e672ca07469cc3efe100 (patch)
tree7009289bbd04654b998db9c64fb23a714632ff15 /indra/newview/scripts/lua/LLNotification.lua
parent100a1d95f0e1aa28d6398fe3401a5cf4d19b133e (diff)
Use new popup.lua, which supersedes LLNotification.lua.
Use ClassName(ctor args) for classes using util.classctor().
Diffstat (limited to 'indra/newview/scripts/lua/LLNotification.lua')
-rw-r--r--indra/newview/scripts/lua/LLNotification.lua15
1 files changed, 0 insertions, 15 deletions
diff --git a/indra/newview/scripts/lua/LLNotification.lua b/indra/newview/scripts/lua/LLNotification.lua
deleted file mode 100644
index f47730d1cc..0000000000
--- a/indra/newview/scripts/lua/LLNotification.lua
+++ /dev/null
@@ -1,15 +0,0 @@
--- Engage the LLNotificationsListener LLEventAPI
-
-leap = require 'leap'
-
-local LLNotification = {}
-
-function LLNotification.add(name, substitutions)
- leap.send('LLNotifications', {op='requestAdd', name=name, substitutions=substitutions})
-end
-
-function LLNotification.requestAdd(name, substitutions)
- return leap.request('LLNotifications', {op='requestAdd', name=name, substitutions=substitutions})['response']
-end
-
-return LLNotification