| @@ -30,13 +30,8 @@ | ||
| 30 | 30 | $this->execute(array("bvadmwithuser" => true)); |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | public function execute($resp = array()) { |
| 34 | - $params = $this->request->params; | |
| 35 | - if (array_key_exists('disable_global_cache', $params)) { | |
| 36 | - $GLOBALS['_wp_using_ext_object_cache'] = false; | |
| 37 | - } | |
| 38 | - | |
| 39 | 34 | $this->routeRequest(); |
| 40 | 35 | $resp = array( |
| 41 | 36 | "request_info" => $this->request->info(), |
| 42 | 37 | "site_info" => $this->siteinfo->info(), |
| @@ -100,12 +95,8 @@ | ||
| 100 | 95 | case 'speed': |
| 101 | 96 | require_once dirname( __FILE__ ) . '/wings/speed.php'; |
| 102 | 97 | $module = new BVSpeedCallback($this); |
| 103 | 98 | break; |
| 104 | - case 'scrty': | |
| 105 | - require_once dirname( __FILE__ ) . '/wings/security.php'; | |
| 106 | - $module = new BVSecurityCallback($this); | |
| 107 | - break; | |
| 108 | 99 | default: |
| 109 | 100 | require_once dirname( __FILE__ ) . '/wings/misc.php'; |
| 110 | 101 | $module = new BVMiscCallback($this); |
| 111 | 102 | break; |
| @@ -124,5 +115,5 @@ | ||
| 124 | 115 | $this->response->addStatus("callbackresponse", $resp); |
| 125 | 116 | return 1; |
| 126 | 117 | } |
| 127 | 118 | } |
| 128 | -endif; | |
| 119 | +endif; | |