summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-08-28 20:42:13 +1200
committerBrenda Wallace <shiny@cpan.org>2009-08-28 20:42:13 +1200
commitb833b725a8b1da1ddbe3ff8f05dd1ccd660955a1 (patch)
treef8ffee01053c37d596a2e1a6372f9063d82e4fee /classes/User.php
parentf4117119ffca76b0d7ff14bd1f99b607f248151b (diff)
make use of common_database_tablename()
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/classes/User.php b/classes/User.php
index 58f9a6874..618e2d6aa 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();