source: extensions/linked_pages/maintain.inc.php @ 17882

Last change on this file since 17882 was 17882, checked in by mistic100, 12 years ago

first version

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