source: extensions/Comments_on_Albums/trunk/maintain.inc.php @ 19991

Last change on this file since 19991 was 19991, checked in by mistic100, 11 years ago

move files to "trunk" branch

File size: 512 bytes
Line 
1<?php
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3
4defined('COA_ID') or define('COA_ID', basename(dirname(__FILE__)));
5include_once(PHPWG_PLUGINS_PATH . COA_ID . '/include/install.inc.php');
6
7function plugin_install() 
8{
9  coa_install();
10  define('coa_installed', true);
11}
12
13function plugin_activate()
14{
15  if (!defined('coa_installed'))
16  {
17    coa_install();
18  }
19}
20
21function plugin_uninstall() 
22{
23  global $prefixeTable;
24
25  pwg_query('DROP TABLE `' . $prefixeTable . 'comments_categories`;');
26}
27
28?>
Note: See TracBrowser for help on using the repository browser.