rev update

This commit is contained in:
friendica 2012-09-03 22:32:35 -07:00
parent fb35742aab
commit 2df083efb1
3 changed files with 6 additions and 3 deletions

View File

@ -226,9 +226,11 @@ CREATE TABLE IF NOT EXISTS `entity` (
`entity_timezone` char(128) NOT NULL DEFAULT 'UTC',
`entity_location` char(255) NOT NULL DEFAULT '',
`entity_theme` char(255) NOT NULL DEFAULT '',
`entity_startpage` char(255) NOT NULL DEFAULT '',
`entity_pubkey` text NOT NULL,
`entity_prvkey` text NOT NULL,
`entity_privacyflags` int(10) unsigned NOT NULL DEFAULT '0',
`entity_postflags` int(10) unsigned NOT NULL DEFAULT '0',
`entity_notifyflags` int(10) unsigned NOT NULL DEFAULT '65535',
`entity_pageflags` int(10) unsigned NOT NULL DEFAULT '0',
`entity_max_anon_mail` int(10) unsigned NOT NULL DEFAULT '10',
@ -253,7 +255,8 @@ CREATE TABLE IF NOT EXISTS `entity` (
KEY `entity_max_anon_mail` (`entity_max_anon_mail`),
KEY `entity_max_friend_req` (`entity_max_friend_req`),
KEY `entity_default_gid` (`entity_default_gid`),
KEY `entity_primary` (`entity_primary`)
KEY `entity_primary` (`entity_primary`),
KEY `entity_postflags` (`entity_postflags`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `event` (

View File

@ -935,7 +935,7 @@ function prepare_body($item,$attach = false) {
}
$title = ((strlen(trim($mtch[4]))) ? escape_tags(trim($mtch[4])) : escape_tags($mtch[1]));
$title .= ' ' . $mtch[2] . ' ' . t('bytes');
if((local_user() == $item['uid']) && $item['contact-id'] != $a->contact['id'])
if((local_user() == $item['uid']) && ($item['contact-id'] != $a->contact['id']) && ($item['network'] == NETWORK_DFRN))
$the_url = $a->get_baseurl() . '/redir/' . $item['contact-id'] . '?f=1&url=' . $mtch[1];
else
$the_url = $mtch[1];

View File

@ -1 +1 @@
2012-09-02.65
2012-09-03.66