From 775d2ab5e0abf13a87c4fe258dcf3ac4761418fb Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Fri, 2 Jan 2004 09:57:28 +0000
Subject: [PATCH] Moved to CMFActivity

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@155 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_core/SQLDict_createMessageTable.zsql | 21 -------------------
 .../skins/erp5_core/SQLDict_delMessage.zsql   | 17 ---------------
 .../skins/erp5_core/SQLDict_hasMessage.zsql   | 19 -----------------
 .../skins/erp5_core/SQLDict_readMessage.zsql  | 12 -----------
 .../erp5_core/SQLDict_readMessageList.zsql    | 19 -----------------
 .../skins/erp5_core/SQLDict_writeMessage.zsql | 15 -------------
 6 files changed, 103 deletions(-)
 delete mode 100755 product/ERP5/skins/erp5_core/SQLDict_createMessageTable.zsql
 delete mode 100755 product/ERP5/skins/erp5_core/SQLDict_delMessage.zsql
 delete mode 100755 product/ERP5/skins/erp5_core/SQLDict_hasMessage.zsql
 delete mode 100755 product/ERP5/skins/erp5_core/SQLDict_readMessage.zsql
 delete mode 100755 product/ERP5/skins/erp5_core/SQLDict_readMessageList.zsql
 delete mode 100755 product/ERP5/skins/erp5_core/SQLDict_writeMessage.zsql

diff --git a/product/ERP5/skins/erp5_core/SQLDict_createMessageTable.zsql b/product/ERP5/skins/erp5_core/SQLDict_createMessageTable.zsql
deleted file mode 100755
index f6f7920d2e..0000000000
--- a/product/ERP5/skins/erp5_core/SQLDict_createMessageTable.zsql
+++ /dev/null
@@ -1,21 +0,0 @@
-<dtml-comment>
-title:
-connection_id:MySQL
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params></params>
-# Host: 
-# Database: test
-# Table: 'stock'
-# 
-CREATE TABLE `message` (
-  `path` VARCHAR(255),
-  `method_id` VARCHAR(40),
-  `message` BLOB,
-  KEY `path` (`path`),
-  KEY `method_id` (`method_id`),
-) TYPE = InnoDB; 
\ No newline at end of file
diff --git a/product/ERP5/skins/erp5_core/SQLDict_delMessage.zsql b/product/ERP5/skins/erp5_core/SQLDict_delMessage.zsql
deleted file mode 100755
index b75a63d246..0000000000
--- a/product/ERP5/skins/erp5_core/SQLDict_delMessage.zsql
+++ /dev/null
@@ -1,17 +0,0 @@
-<dtml-comment>
-title:
-connection_id:MySQL
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>path
-method_id</params>
-DELETE FROM
-  message
-WHERE
-  path = <dtml-sqlvar path type="string">
-<dtml-if method_id>AND method_id = <dtml-sqlvar method_id type="string"></dtml-if>
-  
\ No newline at end of file
diff --git a/product/ERP5/skins/erp5_core/SQLDict_hasMessage.zsql b/product/ERP5/skins/erp5_core/SQLDict_hasMessage.zsql
deleted file mode 100755
index b90d313411..0000000000
--- a/product/ERP5/skins/erp5_core/SQLDict_hasMessage.zsql
+++ /dev/null
@@ -1,19 +0,0 @@
-<dtml-comment>
-title:
-connection_id:MySQL
-max_rows:1
-max_cache:100
-cache_time:1
-class_name:
-class_file:
-</dtml-comment>
-<params>path
-method_id</params>
-SELECT count(path) as message_count FROM
-  message
-<dtml-if "path or method_id"> 
-WHERE
-<dtml-if path>  path = <dtml-sqlvar path type="string"></dtml-if>
-<dtml-if method_id>AND method_id = <dtml-sqlvar method_id type="string"></dtml-if>
-</dtml-if>
-  
\ No newline at end of file
diff --git a/product/ERP5/skins/erp5_core/SQLDict_readMessage.zsql b/product/ERP5/skins/erp5_core/SQLDict_readMessage.zsql
deleted file mode 100755
index 09d5f2ead0..0000000000
--- a/product/ERP5/skins/erp5_core/SQLDict_readMessage.zsql
+++ /dev/null
@@ -1,12 +0,0 @@
-<dtml-comment>
-title:
-connection_id:MySQL
-max_rows:1
-max_cache:0
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params></params>
-SELECT * FROM
-  message
\ No newline at end of file
diff --git a/product/ERP5/skins/erp5_core/SQLDict_readMessageList.zsql b/product/ERP5/skins/erp5_core/SQLDict_readMessageList.zsql
deleted file mode 100755
index 8ba47984dc..0000000000
--- a/product/ERP5/skins/erp5_core/SQLDict_readMessageList.zsql
+++ /dev/null
@@ -1,19 +0,0 @@
-<dtml-comment>
-title:
-connection_id:MySQL
-max_rows:1000
-max_cache:0
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>path
-method_id</params>
-SELECT * FROM
-  message
-<dtml-if "path or method_id"> 
-WHERE
-<dtml-if path>  path = <dtml-sqlvar path type="string"></dtml-if>
-<dtml-if method_id>AND method_id = <dtml-sqlvar method_id type="string"></dtml-if>
-</dtml-if>
-  
\ No newline at end of file
diff --git a/product/ERP5/skins/erp5_core/SQLDict_writeMessage.zsql b/product/ERP5/skins/erp5_core/SQLDict_writeMessage.zsql
deleted file mode 100755
index fe0a397816..0000000000
--- a/product/ERP5/skins/erp5_core/SQLDict_writeMessage.zsql
+++ /dev/null
@@ -1,15 +0,0 @@
-<dtml-comment>
-title:
-connection_id:MySQL
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:
-class_file:
-</dtml-comment>
-<params>path
-method_id
-message</params>
-INSERT INTO message
-VALUES
- (<dtml-sqlvar path type="string">,<dtml-sqlvar method_id type="string">,<dtml-sqlvar message type="string">);
\ No newline at end of file
-- 
2.30.9