mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
- Added delete function
- Added a way to have alternate functions handle the parsing of the status in return_html Its some what limited, the function can ONLY handle 1 parameter and it needs to be the first Plus, it needs to be defined globally
This commit is contained in:
parent
af432ae688
commit
466ef523fa
@ -46,6 +46,12 @@
|
||||
$this->db = $GLOBALS['phpgw']->db;
|
||||
}
|
||||
|
||||
function delete($record_id)
|
||||
{
|
||||
$this->db->query("delete from phpgw_history_log where history_record_id='$record_id' and "
|
||||
. "history_appname='" . $this->appname . "'",__LINE__,__FILE__);
|
||||
}
|
||||
|
||||
function add($status,$record_id,$new_value)
|
||||
{
|
||||
$this->db->query("insert into phpgw_history_log (history_record_id,"
|
||||
|
Loading…
Reference in New Issue
Block a user