forked from GNUsocial/gnu-social
add created to notice update
darcs-hash:20081112185117-5ed1f-3b2373620581d123182dc951c528276541f4ab68.gz
This commit is contained in:
parent
9cd913a2dd
commit
74786b951c
@ -377,8 +377,8 @@ class Notice extends Memcached_DataObject
|
||||
|
||||
$inbox = new Notice_inbox();
|
||||
|
||||
$inbox->query('INSERT INTO notice_inbox (user_id, notice_id) ' .
|
||||
'SELECT user.id, ' . $this->id . ' ' .
|
||||
$inbox->query('INSERT INTO notice_inbox (user_id, notice_id, created) ' .
|
||||
'SELECT user.id, ' . $this->id . ', "' . $this->created . '" ' .
|
||||
'FROM user JOIN subscription ON user.id = subscription.subscriber ' .
|
||||
'WHERE subscription.subscribed = ' . $this->profile_id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user