source: extensions/Media_Icon/maintain.inc.php @ 29278

Last change on this file since 29278 was 19647, checked in by julien1311, 12 years ago

lots of things...

  • Property svn:eol-style set to LF
File size: 654 bytes
Line 
1<?php
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3
4function plugin_install() {
5        include_once(dirname(__FILE__).'/install/functions.inc.php');
6        include_once(dirname(__FILE__).'/install/config_default.inc.php');
7
8        media_icon_install_general($config_default_general);
9        media_icon_install_advanced($config_default_advanced);
10}
11
12function plugin_activate() {
13        include_once(dirname(__FILE__).'/install/functions.inc.php');
14       
15        media_icon_update_db();
16}
17
18function plugin_uninstall() {
19        include_once(dirname(__FILE__).'/install/functions.inc.php');
20
21        media_icon_delete_conf("media_icon_general");
22        media_icon_delete_conf("media_icon_advanced");
23}
24
25?>
Note: See TracBrowser for help on using the repository browser.