From 98af7402c7d4b6fba268dcba7fd26fa285c413c6 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 21 Jul 2008 04:56:41 -0400 Subject: update keys for incomingemail darcs-hash:20080721085641-84dde-9b29902977f78714188ba5fe8c37b4d603c3c63b.gz --- actions/emailsettings.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actions') diff --git a/actions/emailsettings.php b/actions/emailsettings.php index cbc4f644f..2173645f7 100644 --- a/actions/emailsettings.php +++ b/actions/emailsettings.php @@ -269,8 +269,8 @@ class EmailsettingsAction extends SettingsAction { $orig = clone($user); $user->incomingemail = NULL; - - if (!$user->update($orig)) { + + if (!$user->updateKeys($orig)) { common_log_db_error($user, 'UPDATE', __FILE__); $this->server_error(_("Couldn't update user record.")); } @@ -284,7 +284,7 @@ class EmailsettingsAction extends SettingsAction { $orig = clone($user); $user->incomingemail = mail_new_incoming_address(); - if (!$user->update($orig)) { + if (!$user->updateKeys($orig)) { common_log_db_error($user, 'UPDATE', __FILE__); $this->server_error(_("Couldn't update user record.")); } -- cgit v1.2.3-54-g00ecf