table_forum_threaddisablepos.php 631 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * [Discuz!] (C)2001-2099 Comsenz Inc.
  4. * This is NOT a freeware, use is subject to license terms
  5. *
  6. * $Id: table_forum_threaddisablepos.php 27449 2012-03-01 05:32:35Z liulanbo $
  7. */
  8. if(!defined('IN_DISCUZ')) {
  9. exit('Access Denied');
  10. }
  11. class table_forum_threaddisablepos extends discuz_table {
  12. public function __construct() {
  13. $this->_table = 'forum_threaddisablepos';
  14. $this->_pk = 'tid';
  15. $this->_pre_cache_key = 'forum_threaddisablepos_';
  16. $this->_cache_ttl = 0;
  17. parent::__construct();
  18. }
  19. public function truncate() {
  20. DB::query("TRUNCATE ".DB::table('forum_threaddisablepos'));
  21. }
  22. }
  23. ?>