[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/class.history.php, 1.1.2.12
From: |
nomail |
Subject: |
[Phpgroupware-cvs] api/class.history.php, 1.1.2.12 |
Date: |
Sun, 23 May 2004 09:52:59 -0000 |
Update of /api
Modified Files:
Branch: proposal-branch
class.history.php
date: 2004/05/08 06:00:10; author: jengo; state: Exp; lines: +4 -4
Log Message:
Fixed delete account
=====================================================================
Index: api/class.history.php
diff -u api/class.history.php:1.1.2.11 api/class.history.php:1.1.2.12
--- api/class.history.php:1.1.2.11 Sun Apr 25 07:22:23 2004
+++ api/class.history.php Sat May 8 06:00:10 2004
@@ -152,11 +152,11 @@
{
$args = new safe_args();
$args->set('location',REQUIRED,'string');
- $args = $args->get(func_get_args());
+ extract($args->get(func_get_args()));
- $dbresult = $GLOBALS['phpgw']->db->Execute("DELETE FROM
phpgw_history WHERE history_location='" . $args['location'] . "'");
+ $GLOBALS['phpgw']->db->execute("DELETE FROM
phpgw_history WHERE history_location='" . $location . "'");
- return $dbresult->recordcount();
+ return $GLOBALS['phpgw']->db->affected_rows();
}
function _rollback()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/class.history.php, 1.1.2.12,
nomail <=