diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-09-10 13:55:26 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-09-10 13:55:26 +0200 |
commit | 315a0b787c2b1409365226842751face7ab0974c (patch) | |
tree | a046aa45ef36c600e941aad416a8c97e7bbf65fd | |
parent | 9dd327b400129159b545cb8e9cc5a3b26dc2fb11 (diff) |
Remove deprecated function usage (get_table_name)
-rwxr-xr-x | bin/cleandb.sh | 2 |
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". |