From b833b725a8b1da1ddbe3ff8f05dd1ccd660955a1 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Fri, 28 Aug 2009 20:42:13 +1200 Subject: [PATCH] make use of common_database_tablename() --- classes/User.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/classes/User.php b/classes/User.php index 58f9a6874e..618e2d6aac 100644 --- a/classes/User.php +++ b/classes/User.php @@ -103,10 +103,7 @@ class User extends Memcached_DataObject } $toupdate = implode(', ', $parts); - $table = $this->tableName(); - if(common_config('db','quote_identifiers')) { - $table = '"' . $table . '"'; - } + $table = common_database_tablename($this->tableName()); $qry = 'UPDATE ' . $table . ' SET ' . $toupdate . ' WHERE id = ' . $this->id; $orig->decache(); -- 2.39.5