Remove global message functionality from trigger

This commit is contained in:
Jan Kvetina 2022-01-25 17:22:07 +01:00
parent 38778e2e78
commit 22d9a3903b

View File

@ -38,21 +38,6 @@ COMPOUND TRIGGER
IF NOT DELETING THEN
:NEW.updated_by := curr_updated_by;
:NEW.updated_at := curr_updated_at;
-- update global message, create APEX session first
/*
BEGIN
IF :NEW.app_id != app.get_app_id() THEN
app_actions.update_global_message (
in_message => :NEW.message,
in_app_id => :NEW.app_id
);
END IF;
EXCEPTION
WHEN OTHERS THEN -- ORA-20987: APEX - An API call has been prohibited.
:NEW.message := :OLD.message;
END;
*/
ELSE
DELETE FROM sessions t
WHERE t.app_id = :OLD.app_id;