go straight to the DB for inbox before insert
This commit is contained in:
parent
4b839cfc53
commit
abd67452da
@ -103,9 +103,9 @@ class Inbox extends Memcached_DataObject
|
||||
|
||||
static function insertNotice($user_id, $notice_id)
|
||||
{
|
||||
$inbox = Inbox::staticGet('user_id', $user_id);
|
||||
$inbox = DB_DataObject::staticGet('inbox', 'user_id', $user_id);
|
||||
|
||||
if (empty($inbox) || $inbox->fake) {
|
||||
if (empty($inbox)) {
|
||||
$inbox = Inbox::initialize($user_id);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user