From 9c930e0ba5b3ad3535a3435c2d19b26b2871d615 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 29 Jun 2011 10:32:15 -0400 Subject: [PATCH] VM module: IP was not freed when VM is deleted. VM module: Error in SQL query to select a template. --- interface/web/vm/openvz_vm_edit.php | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/interface/web/vm/openvz_vm_edit.php b/interface/web/vm/openvz_vm_edit.php index 451bc01..bc03249 100644 --- a/interface/web/vm/openvz_vm_edit.php +++ b/interface/web/vm/openvz_vm_edit.php @@ -183,14 +183,6 @@ } - function onAfterDelete() { - global $app, $conf; - - //* Release all IP addresses which are assigned to this VM - $app->db->query("UPDATE openvz_ip SET vm_id = 0 WHERE vm_id = '".$this->id."'"); - - } - function applyTemplate() { global $app, $conf; -- Gitblit v1.9.1