From 528db4646480255ec57832d46911d663b827bf2b Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 25 Mar 2001 23:25:23 +0000 Subject: [PATCH] Add delete_all() to sql for testing ONLY :) --- addressbook/inc/class.contacts_sql.inc.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/addressbook/inc/class.contacts_sql.inc.php b/addressbook/inc/class.contacts_sql.inc.php index 3f9fa39387..89b3b31757 100644 --- a/addressbook/inc/class.contacts_sql.inc.php +++ b/addressbook/inc/class.contacts_sql.inc.php @@ -557,6 +557,12 @@ . $this->account_id . "'",__LINE__,__FILE__); } + // This is for testing, not intended for release + function delete_all() + { + $this->db->query("delete from $this->std_table",__LINE__,__FILE__); + $this->db->query("delete from $this->ext_table",__LINE__,__FILE__); + return; + } } - ?>