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

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

lots of things...

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