summaryrefslogtreecommitdiff
path: root/addons/base_module_publish/scripts/mtree_interface.php
diff options
context:
space:
mode:
authorHarry (Open ERP) <hmo@tinyerp.com>2010-02-19 10:51:36 +0530
committerHarry (Open ERP) <hmo@tinyerp.com>2010-02-19 10:51:36 +0530
commitd327a9a0e3ab407c69aad902fa967c92c4cc4eeb (patch)
tree1beadb247946d05900beec3ec2eaaf3be05b11f9 /addons/base_module_publish/scripts/mtree_interface.php
parent2fddca675693162fbd4a80ddc10b83953716514d (diff)
[RENAME+REMOVE] remove: base_module_merge, base_module_publish, crm_vertical, report_analytic_planning. Rename: misc_tools=> profile_tools, profile_association => association, profile_service=>service.
bzr revid: hmo@tinyerp.com-20100219052136-byjuy7h6eszo7g66
Diffstat (limited to 'addons/base_module_publish/scripts/mtree_interface.php')
-rw-r--r--addons/base_module_publish/scripts/mtree_interface.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/addons/base_module_publish/scripts/mtree_interface.php b/addons/base_module_publish/scripts/mtree_interface.php
deleted file mode 100644
index 96d6926dde2..00000000000
--- a/addons/base_module_publish/scripts/mtree_interface.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?
- $port=mysql_connect(":/var/run/mysqld/mysqld.sock","tiny","XXXX");
- if (! $_GET['module']) {
- $query = mysql_db_query("tiny_terp", "select c1.cat_id as cat_id,c1.cat_name as name1,c2.cat_name as name2 from jos_mt_cats c1 left join jos_mt_cats c2 on (c1.cat_parent=c2.cat_id) where c1.cat_allow_submission order by c1.cat_parent,c1.ordering");
- while ($row = mysql_fetch_object($query))
- echo $row->cat_id."=".$row->name2.'/'.$row->name1."\n";
- } else {
- $query = mysql_db_query("tiny_terp", "select link_id from jos_mt_links where cust_7='".addslashes($_GET['module'])."'");
- if ($row = mysql_fetch_object($query))
- echo $row->link_id."\n";
- else
- echo "0\n";
- }
-?>