installed = true; } function activate($plugin_version, &$errors=array()) { if (!$this->installed) { $this->install($plugin_version, $errors); } } function deactivate() { } function uninstall() { global $prefixeTable; pwg_query('DROP TABLE `'.$prefixeTable.'linked_pages`;'); } }