Rev | Line | |
---|
[31376] | 1 | <?php |
---|
| 2 | defined('PHPWG_ROOT_PATH') or die('Hacking attempt!'); |
---|
| 3 | |
---|
| 4 | class DownloadSinceThumbnail_maintain extends PluginMaintain |
---|
| 5 | { |
---|
| 6 | private $installed = false; |
---|
| 7 | |
---|
| 8 | function __construct($plugin_id){ |
---|
| 9 | parent::__construct($plugin_id); |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | function install($plugin_version, &$errors=array()){ |
---|
| 13 | } |
---|
| 14 | |
---|
| 15 | function activate($plugin_version, &$errors=array()){ |
---|
| 16 | $query = "ALTER TABLE ". HISTORY_TABLE ." CHANGE `image_type` `image_type` ENUM( 'picture', 'high', 'other', 'download' ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL"; |
---|
| 17 | $result = pwg_query($query); |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | function update($old_version, $new_version, &$errors=array()){ |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | function deactivate(){ |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | function uninstall(){ |
---|
| 27 | } |
---|
| 28 | } |
---|
| 29 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.