public function deleteAction() { $type = $this->getParam("type"); $id = $this->getParam("id"); ExtensionManager::delete($id, $type); $this->_helper->json(array("success" => true)); }