Commit b264c03d authored by Evan Prodromou's avatar Evan Prodromou

move opening brace of class declaration to next line

Another gigantor PEAR coding standards patch. Here, I've moved the
opening curly bracket on a class statement to the following line.

darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
parent 7ad2f2a3
......@@ -85,4 +85,11 @@ Evan Prodromou <evan@prodromou.name>**20081223194428
More PEAR coding standards global changes. Here, I've changed all
instances of TRUE to true and FALSE to false.
]
[move opening brace of class declaration to next line
Evan Prodromou <evan@prodromou.name>**20081223194923
Another gigantor PEAR coding standards patch. Here, I've moved the
opening curly bracket on a class statement to the following line.
]
\ No newline at end of file
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/omb.php');
class AccesstokenAction extends Action {
class AccesstokenAction extends Action
{
function handle($args)
{
parent::handle($args);
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/actions/showstream.php');
class AllAction extends StreamAction {
class AllAction extends StreamAction
{
function handle($args)
{
......
......@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
// Formatting of RSS handled by Rss10Action
class AllrssAction extends Rss10Action {
class AllrssAction extends Rss10Action
{
var $user = null;
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class ApiAction extends Action {
class ApiAction extends Action
{
var $user;
var $content_type;
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class AvatarbynicknameAction extends Action {
class AvatarbynicknameAction extends Action
{
function handle($args)
{
parent::handle($args);
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class BlockAction extends Action {
class BlockAction extends Action
{
var $profile = null;
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class ConfirmaddressAction extends Action {
class ConfirmaddressAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/deleteaction.php');
class DeletenoticeAction extends DeleteAction {
class DeletenoticeAction extends DeleteAction
{
function handle($args)
{
parent::handle($args);
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class DeleteprofileAction extends Action {
class DeleteprofileAction extends Action
{
function handle($args)
{
parent::handle($args);
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class DisfavorAction extends Action {
class DisfavorAction extends Action
{
function handle($args)
{
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class DocAction extends Action {
class DocAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
class EmailsettingsAction extends SettingsAction {
class EmailsettingsAction extends SettingsAction
{
function get_instructions()
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/facebookaction.php');
class FacebookhomeAction extends FacebookAction {
class FacebookhomeAction extends FacebookAction
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/facebookaction.php');
class FacebookinviteAction extends FacebookAction {
class FacebookinviteAction extends FacebookAction
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/facebookaction.php');
class FacebookremoveAction extends FacebookAction {
class FacebookremoveAction extends FacebookAction
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/facebookaction.php');
class FacebooksettingsAction extends FacebookAction {
class FacebooksettingsAction extends FacebookAction
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/mail.php');
class FavorAction extends Action {
class FavorAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/stream.php');
class FavoritedAction extends StreamAction {
class FavoritedAction extends StreamAction
{
function handle($args)
{
......
......@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
// Formatting of RSS handled by Rss10Action
class FavoritesrssAction extends Rss10Action {
class FavoritesrssAction extends Rss10Action
{
var $user = null;
......
......@@ -22,7 +22,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/stream.php');
require_once(INSTALLDIR.'/lib/profilelist.php');
class FeaturedAction extends StreamAction {
class FeaturedAction extends StreamAction
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/openid.php');
class FinishaddopenidAction extends Action {
class FinishaddopenidAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/openid.php');
class FinishimmediateAction extends Action {
class FinishimmediateAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/openid.php');
class FinishopenidloginAction extends Action {
class FinishopenidloginAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/omb.php');
class FinishremotesubscribeAction extends Action {
class FinishremotesubscribeAction extends Action
{
function handle($args)
{
......
......@@ -23,7 +23,8 @@ define('LISTENER', 1);
define('LISTENEE', -1);
define('BOTH', 0);
class FoafAction extends Action {
class FoafAction extends Action
{
function is_readonly()
{
......
......@@ -22,7 +22,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
require_once(INSTALLDIR.'/lib/jabber.php');
class ImsettingsAction extends SettingsAction {
class ImsettingsAction extends SettingsAction
{
function get_instructions()
{
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class InviteAction extends Action {
class InviteAction extends Action
{
function is_readonly()
{
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class LoginAction extends Action {
class LoginAction extends Action
{
function is_readonly()
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/openid.php');
class LogoutAction extends Action {
class LogoutAction extends Action
{
function is_readonly()
{
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class MicrosummaryAction extends Action {
class MicrosummaryAction extends Action
{
function handle($args)
{
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class NewmessageAction extends Action {
class NewmessageAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once INSTALLDIR . '/lib/noticelist.php';
class NewnoticeAction extends Action {
class NewnoticeAction extends Action
{
function handle($args)
{
......
......@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/searchaction.php');
# XXX common parent for people and content search?
class NoticesearchAction extends SearchAction {
class NoticesearchAction extends SearchAction
{
function get_instructions()
{
......
......@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
// Formatting of RSS handled by Rss10Action
class NoticesearchrssAction extends Rss10Action {
class NoticesearchrssAction extends Rss10Action
{
function init()
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/mail.php');
class NudgeAction extends Action {
class NudgeAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/openid.php');
class OpenidloginAction extends Action {
class OpenidloginAction extends Action
{
function handle($args)
{
......
......@@ -22,7 +22,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
require_once(INSTALLDIR.'/lib/openid.php');
class OpenidsettingsAction extends SettingsAction {
class OpenidsettingsAction extends SettingsAction
{
function get_instructions()
{
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class OpensearchAction extends Action {
class OpensearchAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
class OthersettingsAction extends SettingsAction {
class OthersettingsAction extends SettingsAction
{
function get_instructions()
{
......
......@@ -22,7 +22,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/searchaction.php');
require_once(INSTALLDIR.'/lib/profilelist.php');
class PeoplesearchAction extends SearchAction {
class PeoplesearchAction extends SearchAction
{
function get_instructions()
{
......@@ -69,7 +70,8 @@ class PeoplesearchAction extends SearchAction {
}
}
class PeopleSearchResults extends ProfileList {
class PeopleSearchResults extends ProfileList
{
var $terms = null;
var $pattern = null;
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/profilelist.php');
class PeopletagAction extends Action {
class PeopletagAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/omb.php');
class PostnoticeAction extends Action {
class PostnoticeAction extends Action
{
function handle($args)
{
parent::handle($args);
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
class ProfilesettingsAction extends SettingsAction {
class ProfilesettingsAction extends SettingsAction
{
function get_instructions()
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/stream.php');
class PublicAction extends StreamAction {
class PublicAction extends StreamAction
{
function handle($args)
{
......
......@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
// Formatting of RSS handled by Rss10Action
class PublicrssAction extends Rss10Action {
class PublicrssAction extends Rss10Action
{
function init()
{
......
......@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/openid.php');
# XXX: factor out similarities with XrdsAction
class PublicxrdsAction extends Action {
class PublicxrdsAction extends Action
{
function is_readonly()
{
......
......@@ -23,7 +23,8 @@ if (!defined('LACONICA')) { exit(1); }
define(MAX_RECOVERY_TIME, 24 * 60 * 60);
class RecoverpasswordAction extends Action {
class RecoverpasswordAction extends Action
{
function handle($args)
{
......
......@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
class RegisterAction extends Action {
class RegisterAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/omb.php');
class RemotesubscribeAction extends Action {
class RemotesubscribeAction extends Action
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/actions/showstream.php');
class RepliesAction extends StreamAction {
class RepliesAction extends StreamAction
{
function handle($args)
{
......
......@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
// Formatting of RSS handled by Rss10Action
class RepliesrssAction extends Rss10Action {
class RepliesrssAction extends Rss10Action
{
var $user = null;
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/omb.php');
class RequesttokenAction extends Action {
class RequesttokenAction extends Action
{
function is_readonly()
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/actions/showstream.php');
class ShowfavoritesAction extends StreamAction {
class ShowfavoritesAction extends StreamAction
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/mailbox.php');
class ShowmessageAction extends MailboxAction {
class ShowmessageAction extends MailboxAction
{
function handle($args)
{
......
......@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/stream.php');
class ShownoticeAction extends StreamAction {
class ShownoticeAction extends StreamAction
{
var $notice = null;
var $profile = null;
......
......@@ -24,7 +24,8 @@ require_once(INSTALLDIR.'/lib/stream.php');
define('SUBSCRIPTIONS_PER_ROW', 4);
define('SUBSCRIPTIONS', 80);
class ShowstreamAction extends StreamAction {
class ShowstreamAction extends StreamAction
{
function handle($args)
{
......@@ -449,14 +450,16 @@ class ShowstreamAction extends StreamAction {
# We don't show the author for a profile, since we already know who it is!
class ProfileNoticeList extends NoticeList {
class ProfileNoticeList extends NoticeList
{
function newListItem($notice)
{
return new ProfileNoticeListItem($notice);
}
}
class ProfileNoticeListItem extends NoticeListItem {
class ProfileNoticeListItem extends NoticeListItem
{
function showAuthor()
{
return;
......
......@@ -22,7 +22,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
require_once(INSTALLDIR.'/actions/emailsettings.php');