[pi-code-cleaning] One of to_date function has been deleted
authorNaroa Iriarte <naroa.iriarte@openbravo.com>
Tue, 26 Apr 2016 15:52:47 +0200
changeset 29513 b29f33019549
parent 29512 3c47e21dd299
child 29514 8496051fbd3b
[pi-code-cleaning] One of to_date function has been deleted

The to_date(timestam without timezone, charcter varying) function
has been deleted.
src-db/database/model/prescript-PostgreSql.sql
src-wad/src/org/openbravo/wad/Tabs_data.xsql
--- a/src-db/database/model/prescript-PostgreSql.sql	Tue Apr 26 10:02:19 2016 +0200
+++ b/src-db/database/model/prescript-PostgreSql.sql	Tue Apr 26 15:52:47 2016 +0200
@@ -261,17 +261,6 @@
 ' LANGUAGE 'plpgsql' IMMUTABLE
 /-- END
 
-CREATE OR REPLACE FUNCTION to_date
-(
-timestamp, varchar
-)
-RETURNS timestamp AS '
-BEGIN
-RETURN to_timestamp($1, $2);
-END;
-' LANGUAGE 'plpgsql' IMMUTABLE
-/-- END
-
 CREATE OR REPLACE FUNCTION to_timestamp
 (
  timestamptz
--- a/src-wad/src/org/openbravo/wad/Tabs_data.xsql	Tue Apr 26 10:02:19 2016 +0200
+++ b/src-wad/src/org/openbravo/wad/Tabs_data.xsql	Tue Apr 26 15:52:47 2016 +0200
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2015 Openbravo SLU 
+ * All portions are Copyright (C) 2001-2016 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************