git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 0f6bc219 authored by Robin Millette's avatar Robin Millette Committed by Robin Millette

mark a bunch of actions read-only

parent 25ff3814
......@@ -71,4 +71,9 @@ class AccesstokenAction extends Action
$this->serverError($e->getMessage());
}
}
function isReadOnly()
{
return true;
}
}
......@@ -123,5 +123,10 @@ class AllrssAction extends Rss10Action
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
return $avatar ? $avatar->url : null;
}
function isReadOnly()
{
return true;
}
}
......@@ -97,5 +97,10 @@ class AvatarbynicknameAction extends Action
}
common_redirect($url, 302);
}
function isReadOnly()
{
return true;
}
}
......@@ -107,4 +107,9 @@ class DocAction extends Action
{
return ucfirst($this->title);
}
function isReadOnly()
{
return true;
}
}
......@@ -114,5 +114,10 @@ class FavoritesrssAction extends Rss10Action
{
return null;
}
function isReadOnly()
{
return true;
}
}
......@@ -508,4 +508,9 @@ class GrouplogoAction extends Action
$nav = new GroupNav($this, $this->group);
$nav->show();
}
function isReadOnly()
{
return true;
}
}
......@@ -103,5 +103,10 @@ class GroupSearchResults extends GroupList
{
return preg_replace($this->pattern, '<strong>\\1</strong>', htmlspecialchars($text));
}
function isReadOnly()
{
return true;
}
}
......@@ -54,7 +54,7 @@ class LogoutAction extends Action
*/
function isReadOnly()
{
return true;
return false;
}
/**
......
......@@ -73,4 +73,9 @@ class MicrosummaryAction extends Action
print $user->nickname . ': ' . $notice->content;
}
function isReadOnly()
{
return true;
}
}
......@@ -222,5 +222,10 @@ class NoticesearchAction extends SearchAction
} while ($count);
return $result;
}
function isReadOnly()
{
return true;
}
}
......@@ -95,4 +95,9 @@ class NoticesearchrssAction extends Rss10Action
{
return null;
}
function isReadOnly()
{
return true;
}
}
......@@ -83,5 +83,10 @@ class OpensearchAction extends Action
$this->elementEnd('OpenSearchDescription');
common_end_xml();
}
function isReadOnly()
{
return true;
}
}
......@@ -109,5 +109,10 @@ class PeopleSearchResults extends ProfileList
{
return preg_replace($this->pattern, '<strong>\\1</strong>', htmlspecialchars($text));
}
function isReadOnly()
{
return true;
}
}
......@@ -102,5 +102,10 @@ class PublicrssAction extends Rss10Action
{
// nop
}
function isReadOnly()
{
return true;
}
}
......@@ -191,4 +191,9 @@ class RepliesAction extends Action
$this->page, 'replies',
array('nickname' => $this->user->nickname));
}
function isReadOnly()
{
return true;
}
}
......@@ -82,4 +82,9 @@ class RepliesrssAction extends Rss10Action
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
return ($avatar) ? $avatar->url : null;
}
function isReadOnly()
{
return true;
}
}
......@@ -176,4 +176,9 @@ class ShowmessageAction extends MailboxAction
{
return '';
}
}
\ No newline at end of file
function isReadOnly()
{
return true;
}
}
......@@ -103,4 +103,9 @@ class SubscribersList extends ProfileList
'nickname' => $this->owner->nickname));
$bf->show();
}
function isReadOnly()
{
return true;
}
}
......@@ -66,4 +66,9 @@ class TagrssAction extends Rss10Action
'description' => sprintf(_('Microblog tagged with %s'), $tagname));
return $c;
}
function isReadOnly()
{
return true;
}
}
......@@ -94,5 +94,10 @@ class UserrssAction extends Rss10Action
header('X-SUP-ID: '.$url);
parent::initRss($limit);
}
function isReadOnly()
{
return true;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment