forked from GNUsocial/gnu-social
removed extraneous argument in startHTML calls
This commit is contained in:
parent
f9edd1101b
commit
3f0eb90128
@ -89,7 +89,7 @@ class DisfavorAction extends Action
|
|||||||
}
|
}
|
||||||
$user->blowFavesCache();
|
$user->blowFavesCache();
|
||||||
if ($this->boolean('ajax')) {
|
if ($this->boolean('ajax')) {
|
||||||
$this->startHTML('text/xml;charset=utf-8', true);
|
$this->startHTML('text/xml;charset=utf-8');
|
||||||
$this->elementStart('head');
|
$this->elementStart('head');
|
||||||
$this->element('title', null, _('Add to favorites'));
|
$this->element('title', null, _('Add to favorites'));
|
||||||
$this->elementEnd('head');
|
$this->elementEnd('head');
|
||||||
|
@ -89,7 +89,7 @@ class FavorAction extends Action
|
|||||||
$this->notify($notice, $user);
|
$this->notify($notice, $user);
|
||||||
$user->blowFavesCache();
|
$user->blowFavesCache();
|
||||||
if ($this->boolean('ajax')) {
|
if ($this->boolean('ajax')) {
|
||||||
$this->startHTML('text/xml;charset=utf-8', true);
|
$this->startHTML('text/xml;charset=utf-8');
|
||||||
$this->elementStart('head');
|
$this->elementStart('head');
|
||||||
$this->element('title', null, _('Disfavor favorite'));
|
$this->element('title', null, _('Disfavor favorite'));
|
||||||
$this->elementEnd('head');
|
$this->elementEnd('head');
|
||||||
|
@ -161,7 +161,7 @@ class NewnoticeAction extends Action
|
|||||||
common_broadcast_notice($notice);
|
common_broadcast_notice($notice);
|
||||||
|
|
||||||
if ($this->boolean('ajax')) {
|
if ($this->boolean('ajax')) {
|
||||||
$this->startHTML('text/xml;charset=utf-8', true);
|
$this->startHTML('text/xml;charset=utf-8');
|
||||||
$this->elementStart('head');
|
$this->elementStart('head');
|
||||||
$this->element('title', null, _('Notice posted'));
|
$this->element('title', null, _('Notice posted'));
|
||||||
$this->elementEnd('head');
|
$this->elementEnd('head');
|
||||||
|
@ -89,7 +89,7 @@ class NudgeAction extends Action
|
|||||||
$this->notify($user, $other);
|
$this->notify($user, $other);
|
||||||
|
|
||||||
if ($this->boolean('ajax')) {
|
if ($this->boolean('ajax')) {
|
||||||
$this->startHTML('text/xml;charset=utf-8', true);
|
$this->startHTML('text/xml;charset=utf-8');
|
||||||
$this->elementStart('head');
|
$this->elementStart('head');
|
||||||
$this->element('title', null, _('Nudge sent'));
|
$this->element('title', null, _('Nudge sent'));
|
||||||
$this->elementEnd('head');
|
$this->elementEnd('head');
|
||||||
|
@ -64,7 +64,7 @@ class SubscribeAction extends Action
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->boolean('ajax')) {
|
if ($this->boolean('ajax')) {
|
||||||
$this->startHTML('text/xml;charset=utf-8', true);
|
$this->startHTML('text/xml;charset=utf-8');
|
||||||
$this->elementStart('head');
|
$this->elementStart('head');
|
||||||
$this->element('title', null, _('Subscribed'));
|
$this->element('title', null, _('Subscribed'));
|
||||||
$this->elementEnd('head');
|
$this->elementEnd('head');
|
||||||
|
@ -203,7 +203,7 @@ class TagotherAction extends Action
|
|||||||
$action = $user->isSubscribed($this->profile) ? 'subscriptions' : 'subscribers';
|
$action = $user->isSubscribed($this->profile) ? 'subscriptions' : 'subscribers';
|
||||||
|
|
||||||
if ($this->boolean('ajax')) {
|
if ($this->boolean('ajax')) {
|
||||||
$this->startHTML('text/xml');
|
$this->startHTML('text/xml;charset=utf-8');
|
||||||
$this->elementStart('head');
|
$this->elementStart('head');
|
||||||
$this->element('title', null, _('Tags'));
|
$this->element('title', null, _('Tags'));
|
||||||
$this->elementEnd('head');
|
$this->elementEnd('head');
|
||||||
|
@ -66,7 +66,7 @@ class UnsubscribeAction extends Action
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->boolean('ajax')) {
|
if ($this->boolean('ajax')) {
|
||||||
$this->startHTML('text/xml;charset=utf-8', true);
|
$this->startHTML('text/xml;charset=utf-8');
|
||||||
$this->elementStart('head');
|
$this->elementStart('head');
|
||||||
$this->element('title', null, _('Unsubscribed'));
|
$this->element('title', null, _('Unsubscribed'));
|
||||||
$this->elementEnd('head');
|
$this->elementEnd('head');
|
||||||
|
Loading…
Reference in New Issue
Block a user