Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts: actions/confirmaddress.php
This commit is contained in:
commit
1eeb23e1e3
@ -238,9 +238,13 @@ class GroupMemberListItem extends ProfileListItem
|
|||||||
|
|
||||||
function homepageAttributes()
|
function homepageAttributes()
|
||||||
{
|
{
|
||||||
|
$aAttrs = parent::linkAttributes();
|
||||||
|
|
||||||
if (common_config('nofollow', 'members')) {
|
if (common_config('nofollow', 'members')) {
|
||||||
$aAttrs['rel'] = 'nofollow';
|
$aAttrs['rel'] = 'nofollow';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $aAttrs;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -168,9 +168,13 @@ class PeopleTagListItem extends ProfileListItem
|
|||||||
|
|
||||||
function homepageAttributes()
|
function homepageAttributes()
|
||||||
{
|
{
|
||||||
|
$aAttrs = parent::linkAttributes();
|
||||||
|
|
||||||
if (common_config('nofollow', 'peopletag')) {
|
if (common_config('nofollow', 'peopletag')) {
|
||||||
$aAttrs['rel'] = 'nofollow';
|
$aAttrs['rel'] = 'nofollow';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $aAttrs;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -181,8 +181,12 @@ class SubscribersListItem extends SubscriptionListItem
|
|||||||
|
|
||||||
function homepageAttributes()
|
function homepageAttributes()
|
||||||
{
|
{
|
||||||
|
$aAttrs = parent::linkAttributes();
|
||||||
|
|
||||||
if (common_config('nofollow', 'subscribers')) {
|
if (common_config('nofollow', 'subscribers')) {
|
||||||
$aAttrs['rel'] = 'nofollow';
|
$aAttrs['rel'] = 'nofollow';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $aAttrs;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -548,7 +548,10 @@ class User extends Memcached_DataObject
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Subscription::cancel($other, $this->getProfile());
|
$self = $this->getProfile();
|
||||||
|
if (Subscription::exists($other, $self)) {
|
||||||
|
Subscription::cancel($other, $self);
|
||||||
|
}
|
||||||
|
|
||||||
$block->query('COMMIT');
|
$block->query('COMMIT');
|
||||||
|
|
||||||
|
@ -49,10 +49,14 @@ class DelUserQueueHandler extends QueueHandler
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
if (!$user->hasRole(Profile_role::DELETED)) {
|
if (!$user->hasRole(Profile_role::DELETED)) {
|
||||||
common_log(LOG_INFO, "User {$user->nickname} is not pending deletion; aborting.");
|
common_log(LOG_INFO, "User {$user->nickname} is not pending deletion; aborting.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
} catch (UserNoProfileException $unp) {
|
||||||
|
common_log(LOG_INFO, "Deleting user {$user->nickname} with no profile... probably a good idea!");
|
||||||
|
}
|
||||||
|
|
||||||
$notice = $this->getNextBatch($user);
|
$notice = $this->getNextBatch($user);
|
||||||
if ($notice->N) {
|
if ($notice->N) {
|
||||||
|
Loading…
Reference in New Issue
Block a user