'20 pages in 00:00:10' , 'same' => '15 pages in 00:00:30' , 'banned during' => '23:59:59' , 'only guest' => true , 'only picture' => false , 'allowed ip' => array('123.123.123.123','122.122.122.122'), ); conf_update_param('antiaspi', $conf['antiaspi']); } $this->install($new_version, $errors); } function uninstall() { global $prefixeTable; pwg_query('DROP TABLE '.$prefixeTable.'antiaspi_ip_ban;'); pwg_query('DROP TABLE '.$prefixeTable.'antiaspi_log;'); } }