source: extensions/user_delete_photo/maintain.inc.php @ 22079

Last change on this file since 22079 was 21964, checked in by ddtddt, 12 years ago

[extensions] - user_delete_photo - First release

File size: 415 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5function plugin_install()
6{
7    global $prefixeTable;
8
9        $query = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment) VALUES ("udp","datecreate","user delete photo");';
10    pwg_query($query);
11
12}
13
14
15function plugin_uninstall()
16{
17        global $prefixeTable;
18
19
20        $q = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE param="udp" LIMIT 1;';
21    pwg_query($q);
22}
23
24
25?>
Note: See TracBrowser for help on using the repository browser.