Index: openacs-4/packages/notifications/sql/postgresql/notifications-replies-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notifications/sql/postgresql/notifications-replies-drop.sql,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/notifications/sql/postgresql/notifications-replies-drop.sql 8 Mar 2004 12:34:12 -0000 1.1 +++ openacs-4/packages/notifications/sql/postgresql/notifications-replies-drop.sql 30 Mar 2013 18:50:28 -0000 1.2 @@ -1,16 +1,16 @@ drop table notification_replies; -create function inline_0 () -returns integer as ' -begin +CREATE OR REPLACE FUNCTION inline_0 () RETURNS integer AS $$ +BEGIN perform acs_object_type__drop_type( - ''notification_reply'', ''f'' + 'notification_reply', 'f' ); return null; -end;' language 'plpgsql'; +END; +$$ LANGUAGE plpgsql; select inline_0(); drop function inline_0();