extention.inc.php 229 B

1234567
  1. <?php
  2. defined('IN_PHPCMS') or exit('Access Denied');
  3. defined('UNINSTALL') or exit('Access Denied');
  4. $type_db = pc_base::load_model('type_model');
  5. $typeid = $type_db->delete(array('module'=>'vote'));
  6. if(!$typeid) return FALSE;
  7. ?>