From a4262c618cfe8b15b4b0b4c3847e77c9f65552c9 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 23 Apr 2008 16:43:17 -0400 Subject: [PATCH] Updated Debian installation instructions. --- interface/lib/classes/tform_actions.inc.php | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/interface/lib/classes/tform_actions.inc.php b/interface/lib/classes/tform_actions.inc.php index c193081..7b9a5a9 100644 --- a/interface/lib/classes/tform_actions.inc.php +++ b/interface/lib/classes/tform_actions.inc.php @@ -300,6 +300,8 @@ //$this->dataRecord = $app->db->queryOneRecord("SELECT * FROM ".$liste["table"]." WHERE ".$liste["table_idx"]." = ".$this->id); $this->dataRecord = $app->tform->getDataRecord($this->id); + + $this->onBeforeDelete(); // Saving record to datalog when db_history enabled if($app->tform->formDef["db_history"] == 'yes') { @@ -337,6 +339,10 @@ } + function onBeforeDelete() { + global $app, $conf; + } + function onAfterDelete() { global $app, $conf; } -- Gitblit v1.9.1