summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-09-10 13:55:26 +0200
committerAleksander Machniak <alec@alec.pl>2014-09-10 13:55:26 +0200
commit315a0b787c2b1409365226842751face7ab0974c (patch)
treea046aa45ef36c600e941aad416a8c97e7bbf65fd
parent9dd327b400129159b545cb8e9cc5a3b26dc2fb11 (diff)
Remove deprecated function usage (get_table_name)
-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".