1
|
<?php
|
2
|
// $Id: cdm_taxontree.install 2857 2008-06-26 16:48:16Z a.kohlbecker $
|
3
|
|
4
|
/**
|
5
|
* Implementation of hook_install().
|
6
|
*/
|
7
|
function cdm_taxontree_install(){
|
8
|
|
9
|
db_query(" CREATE TABLE {cache_cdm_taxontree} (
|
10
|
`cid` varchar(333) NOT NULL default '',
|
11
|
`data` longblob,
|
12
|
`expire` int(11) NOT NULL default '0',
|
13
|
`created` int(11) NOT NULL default '0',
|
14
|
`headers` text,
|
15
|
PRIMARY KEY (`cid`),
|
16
|
KEY `expire` (`expire`)
|
17
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ");
|
18
|
|
19
|
}
|
20
|
|
21
|
/**
|
22
|
* Implementation of hook_uninstall().
|
23
|
*/
|
24
|
function cdm_taxontree_uninstall(){
|
25
|
db_query("DROP TABLE {cache_cdm_taxontree};");
|
26
|
}
|
27
|
?>
|