Commit b46b5885 authored by mmn's avatar mmn

New Profile_prefs get a 'created' value now.

parent b5fd2a04
......@@ -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.');
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment