source: extensions/add_head_element/maintain.inc.php @ 15907

Revision 12496, 375 bytes checked in by ddtddt, 8 years ago (diff)

[extensions] - add_head_element - first commit

Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5
6function plugin_install()
7{
8        $query = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment) VALUES ("add_head_element","","add element head");';
9    pwg_query($query);
10}
11
12function plugin_uninstall()
13{
14        $q = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE param="add_head_element" LIMIT 1;';
15    pwg_query($q);
16}
17?>
Note: See TracBrowser for help on using the repository browser.