reduce duplication - only provide one system language setting

This commit is contained in:
friendica
2012-08-12 20:56:23 -07:00
parent 9899cfb5c7
commit 184cf51d2f
8 changed files with 36 additions and 49 deletions

View File

@@ -755,6 +755,15 @@
$ret = api_format_items($r,$user_info);
// We aren't going to try to figure out at the item, group, and page
// level which items you've seen and which you haven't. If you're looking
// at the network timeline just mark everything seen.
$r = q("UPDATE `item` SET `unseen` = 0
WHERE `unseen` = 1 AND `uid` = %d",
intval($user_info['uid'])
);
$data = array('$statuses' => $ret);
switch($type){