Remove global message functionality from trigger
This commit is contained in:
parent
38778e2e78
commit
22d9a3903b
@ -38,21 +38,6 @@ COMPOUND TRIGGER
|
|||||||
IF NOT DELETING THEN
|
IF NOT DELETING THEN
|
||||||
:NEW.updated_by := curr_updated_by;
|
:NEW.updated_by := curr_updated_by;
|
||||||
:NEW.updated_at := curr_updated_at;
|
: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
|
ELSE
|
||||||
DELETE FROM sessions t
|
DELETE FROM sessions t
|
||||||
WHERE t.app_id = :OLD.app_id;
|
WHERE t.app_id = :OLD.app_id;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user