New Profile_prefs get a 'created' value now.

This commit is contained in:
Mikael Nordfeldth 2014-07-13 17:09:18 +02:00
parent b5fd2a048f
commit b46b588522

View File

@ -168,6 +168,7 @@ class Profile_prefs extends Managed_DataObject
$pref->namespace = $namespace;
$pref->topic = $topic;
$pref->data = $data;
$pref->created = common_sql_now();
if ($pref->insert() === false) {
throw new ServerException('Could not save profile preference.');