| @@ -7,13 +7,12 @@ | ||
| 7 | 7 | class BVDBCallback extends BVCallbackBase { |
| 8 | 8 | public $db; |
| 9 | 9 | public $stream; |
| 10 | 10 | public $account; |
| 11 | - public $siteinfo; | |
| 12 | 11 | |
| 13 | 12 | public static $bvTables = array("fw_requests", "lp_requests", "ip_store"); |
| 14 | 13 | |
| 15 | - const DB_WING_VERSION = 1.3; | |
| 14 | + const DB_WING_VERSION = 1.2; | |
| 16 | 15 | |
| 17 | 16 | public function __construct($callback_handler) { |
| 18 | 17 | $this->db = $callback_handler->db; |
| 19 | 18 | $this->account = $callback_handler->account; |
| @@ -138,9 +137,8 @@ | ||
| 138 | 137 | $resp = array(); |
| 139 | 138 | foreach($tables as $table) { |
| 140 | 139 | $tname = $table; |
| 141 | 140 | $resp[$tname] = array("description" => $this->db->describeTable($table)); |
| 142 | - $resp[$tname]["primary_keys_index"] = $this->db->showTableIndex($table); | |
| 143 | 141 | } |
| 144 | 142 | return $resp; |
| 145 | 143 | } |
| 146 | 144 | |
| @@ -199,9 +197,8 @@ | ||
| 199 | 197 | break; |
| 200 | 198 | case "describetable": |
| 201 | 199 | $table = $params['table']; |
| 202 | 200 | $resp = array("table_description" => $db->describeTable($table)); |
| 203 | - $resp["primary_keys_index"] = $db->showTableIndex($table); | |
| 204 | 201 | break; |
| 205 | 202 | case "checktable": |
| 206 | 203 | $table = $params['table']; |
| 207 | 204 | $type = $params['type']; |