summaryrefslogtreecommitdiff
path: root/classes/Inbox.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-28 23:21:09 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-28 23:21:09 +0200
commitb03ece26eb1589c5200094f4d87455ca46db780b (patch)
treeeaddfcd2a40f6692a0f04d0077c1ebb7e7b26af0 /classes/Inbox.php
parenta8d0c04870a665fb1f82dc7b7d451592b151eaa7 (diff)
* i18n/L10n and translator documentation updates.
* whitespace and indentation updates
Diffstat (limited to 'classes/Inbox.php')
-rw-r--r--classes/Inbox.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/classes/Inbox.php b/classes/Inbox.php
index 430419ba5..a1ab6215f 100644
--- a/classes/Inbox.php
+++ b/classes/Inbox.php
@@ -55,7 +55,6 @@ class Inbox extends Memcached_DataObject
/**
* Create a new inbox from existing Notice_inbox stuff
*/
-
static function initialize($user_id)
{
$inbox = Inbox::fromNoticeInbox($user_id);
@@ -115,10 +114,10 @@ class Inbox extends Memcached_DataObject
*/
static function insertNotice($user_id, $notice_id)
{
- // Going straight to the DB rather than trusting our caching
- // during an update. Note: not using DB_DataObject::staticGet,
- // which is unsafe to use directly (in-process caching causes
- // memory leaks, which accumulate in queue processes).
+ // Going straight to the DB rather than trusting our caching
+ // during an update. Note: not using DB_DataObject::staticGet,
+ // which is unsafe to use directly (in-process caching causes
+ // memory leaks, which accumulate in queue processes).
$inbox = new Inbox();
if (!$inbox->get('user_id', $user_id)) {
$inbox = Inbox::initialize($user_id);