summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/cleandb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cleandb.sh b/bin/cleandb.sh
index 3a3c2572e..add039364 100755
--- a/bin/cleandb.sh
+++ b/bin/cleandb.sh
@@ -56,7 +56,7 @@ foreach (array('contacts','contactgroups','identities') as $table) {
&& ($table == 'contacts' || $table == 'contactgroups')
) {
$pk = $primary_keys[$table];
- $memberstable = get_table_name('contactgroupmembers');
+ $memberstable = $db->table_name('contactgroupmembers');
$db->query(
"DELETE FROM $memberstable".