source: extensions/Comments_on_Albums/maintain.inc.php @ 19762

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

update with Piwigo 2.5 features (website url, email, mandatory email and username)

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.