26 lines
656 B
PHP
26 lines
656 B
PHP
|
<?php
|
||
|
/**
|
||
|
* [Discuz!] (C)2001-2099 Comsenz Inc.
|
||
|
* This is NOT a freeware, use is subject to license terms
|
||
|
*
|
||
|
* $Id: table_forum_threaddisablepos.php 27449 2012-03-01 05:32:35Z liulanbo $
|
||
|
*/
|
||
|
|
||
|
if(!defined('IN_DISCUZ')) {
|
||
|
exit('Access Denied');
|
||
|
}
|
||
|
class table_forum_threaddisablepos extends discuz_table {
|
||
|
|
||
|
public function __construct() {
|
||
|
$this->_table = 'forum_threaddisablepos';
|
||
|
$this->_pk = 'tid';
|
||
|
$this->_pre_cache_key = 'forum_threaddisablepos_';
|
||
|
$this->_cache_ttl = 0;
|
||
|
parent::__construct();
|
||
|
}
|
||
|
public function truncate() {
|
||
|
DB::query("TRUNCATE ".DB::table('forum_threaddisablepos'));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|