]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
removed extraneous argument in startHTML calls
authorRobin Millette <millette@controlyourself.ca>
Mon, 2 Feb 2009 20:47:57 +0000 (20:47 +0000)
committerRobin Millette <millette@plantard.controlezvous.ca>
Mon, 2 Feb 2009 20:47:57 +0000 (20:47 +0000)
actions/disfavor.php
actions/favor.php
actions/newnotice.php
actions/nudge.php
actions/subscribe.php
actions/tagother.php
actions/unsubscribe.php

index 09b3bf18d3d03ad8348afe465511d125f2962293..90bab3ccae86325c5005dcea10f4a89318f7e297 100644 (file)
@@ -89,7 +89,7 @@ class DisfavorAction extends Action
         }
         $user->blowFavesCache();
         if ($this->boolean('ajax')) {
-            $this->startHTML('text/xml;charset=utf-8', true);
+            $this->startHTML('text/xml;charset=utf-8');
             $this->elementStart('head');
             $this->element('title', null, _('Add to favorites'));
             $this->elementEnd('head');
index 8ecde4b116f80d098e7e8366fd206b951714330b..3940df6888c11a83ba2f26239766c7026b0d280a 100644 (file)
@@ -89,7 +89,7 @@ class FavorAction extends Action
         $this->notify($notice, $user);
         $user->blowFavesCache();
         if ($this->boolean('ajax')) {
-            $this->startHTML('text/xml;charset=utf-8', true);
+            $this->startHTML('text/xml;charset=utf-8');
             $this->elementStart('head');
             $this->element('title', null, _('Disfavor favorite'));
             $this->elementEnd('head');
index 572adbb23978edd12113aa8a889a4e8a2b07439b..5142cb5ff2894b3ac9f6e961519f9531ec8651d4 100644 (file)
@@ -161,7 +161,7 @@ class NewnoticeAction extends Action
         common_broadcast_notice($notice);
 
         if ($this->boolean('ajax')) {
-            $this->startHTML('text/xml;charset=utf-8', true);
+            $this->startHTML('text/xml;charset=utf-8');
             $this->elementStart('head');
             $this->element('title', null, _('Notice posted'));
             $this->elementEnd('head');
index ca7947f5a20fb28b70c3ac88d79ccfc7933dc2d6..bc3d484788c433d951f85fb24f18079d4e966d8d 100644 (file)
@@ -89,7 +89,7 @@ class NudgeAction extends Action
         $this->notify($user, $other);
 
         if ($this->boolean('ajax')) {
-            $this->startHTML('text/xml;charset=utf-8', true);
+            $this->startHTML('text/xml;charset=utf-8');
             $this->elementStart('head');
             $this->element('title', null, _('Nudge sent'));
             $this->elementEnd('head');
index 171332734e6d9bd8c4421b5568e185e251d072f2..f761992de40f6fd7401f77ebae0a5b024642a20d 100644 (file)
@@ -64,7 +64,7 @@ class SubscribeAction extends Action
         }
 
         if ($this->boolean('ajax')) {
-            $this->startHTML('text/xml;charset=utf-8', true);
+            $this->startHTML('text/xml;charset=utf-8');
             $this->elementStart('head');
             $this->element('title', null, _('Subscribed'));
             $this->elementEnd('head');
index 9b06cb43e0931b11012409a80cbbc16046e9fba6..cbace5b6b5c83934848e510b19c8f7602a6542dc 100644 (file)
@@ -203,7 +203,7 @@ class TagotherAction extends Action
         $action = $user->isSubscribed($this->profile) ? 'subscriptions' : 'subscribers';
 
         if ($this->boolean('ajax')) {
-            $this->startHTML('text/xml');
+            $this->startHTML('text/xml;charset=utf-8');
             $this->elementStart('head');
             $this->element('title', null, _('Tags'));
             $this->elementEnd('head');
index f9dd6f821246c721ca5d6a7f140cc64b2b88ffc4..b1e2b642568026cc62df626c9913105819fa3bbd 100644 (file)
@@ -66,7 +66,7 @@ class UnsubscribeAction extends Action
         }
 
         if ($this->boolean('ajax')) {
-            $this->startHTML('text/xml;charset=utf-8', true);
+            $this->startHTML('text/xml;charset=utf-8');
             $this->elementStart('head');
             $this->element('title', null, _('Unsubscribed'));
             $this->elementEnd('head');