summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-23 14:49:23 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-23 14:49:23 -0500
commitb264c03d32d04d7a33d28a5830848660f4484943 (patch)
treecfd64d5629e090433c2c923090b76ddf1414ae90 /actions
parent7ad2f2a371eae2489330f30306cfcbb204411bae (diff)
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
Diffstat (limited to 'actions')
-rw-r--r--actions/accesstoken.php3
-rw-r--r--actions/all.php3
-rw-r--r--actions/allrss.php3
-rw-r--r--actions/api.php3
-rw-r--r--actions/avatarbynickname.php3
-rw-r--r--actions/block.php3
-rw-r--r--actions/confirmaddress.php3
-rw-r--r--actions/deletenotice.php3
-rw-r--r--actions/deleteprofile.php3
-rw-r--r--actions/disfavor.php3
-rw-r--r--actions/doc.php3
-rw-r--r--actions/emailsettings.php3
-rw-r--r--actions/facebookhome.php3
-rw-r--r--actions/facebookinvite.php3
-rw-r--r--actions/facebookremove.php3
-rw-r--r--actions/facebooksettings.php3
-rw-r--r--actions/favor.php3
-rw-r--r--actions/favorited.php3
-rw-r--r--actions/favoritesrss.php3
-rw-r--r--actions/featured.php3
-rw-r--r--actions/finishaddopenid.php3
-rw-r--r--actions/finishimmediate.php3
-rw-r--r--actions/finishopenidlogin.php3
-rw-r--r--actions/finishremotesubscribe.php3
-rw-r--r--actions/foaf.php3
-rw-r--r--actions/imsettings.php3
-rw-r--r--actions/invite.php3
-rw-r--r--actions/login.php3
-rw-r--r--actions/logout.php3
-rw-r--r--actions/microsummary.php3
-rw-r--r--actions/newmessage.php3
-rw-r--r--actions/newnotice.php3
-rw-r--r--actions/noticesearch.php3
-rw-r--r--actions/noticesearchrss.php3
-rw-r--r--actions/nudge.php3
-rw-r--r--actions/openidlogin.php3
-rw-r--r--actions/openidsettings.php3
-rw-r--r--actions/opensearch.php3
-rw-r--r--actions/othersettings.php3
-rw-r--r--actions/peoplesearch.php6
-rw-r--r--actions/peopletag.php3
-rw-r--r--actions/postnotice.php3
-rw-r--r--actions/profilesettings.php3
-rw-r--r--actions/public.php3
-rw-r--r--actions/publicrss.php3
-rw-r--r--actions/publicxrds.php3
-rw-r--r--actions/recoverpassword.php3
-rw-r--r--actions/register.php3
-rw-r--r--actions/remotesubscribe.php3
-rw-r--r--actions/replies.php3
-rw-r--r--actions/repliesrss.php3
-rw-r--r--actions/requesttoken.php3
-rw-r--r--actions/showfavorites.php3
-rw-r--r--actions/showmessage.php3
-rw-r--r--actions/shownotice.php3
-rw-r--r--actions/showstream.php9
-rw-r--r--actions/smssettings.php3
-rw-r--r--actions/subedit.php3
-rw-r--r--actions/subscribe.php3
-rw-r--r--actions/subscribers.php6
-rw-r--r--actions/subscriptions.php6
-rw-r--r--actions/sup.php3
-rw-r--r--actions/tag.php3
-rw-r--r--actions/tagother.php3
-rw-r--r--actions/tagrss.php3
-rw-r--r--actions/twitapiaccount.php3
-rw-r--r--actions/twitapiblocks.php3
-rw-r--r--actions/twitapidirect_messages.php3
-rw-r--r--actions/twitapifavorites.php3
-rw-r--r--actions/twitapifriendships.php3
-rw-r--r--actions/twitapihelp.php3
-rw-r--r--actions/twitapinotifications.php3
-rw-r--r--actions/twitapistatuses.php3
-rw-r--r--actions/twitapiusers.php3
-rw-r--r--actions/twittersettings.php3
-rw-r--r--actions/unblock.php3
-rw-r--r--actions/unsubscribe.php3
-rw-r--r--actions/updateprofile.php3
-rw-r--r--actions/userauthorization.php3
-rw-r--r--actions/userbyid.php3
-rw-r--r--actions/userrss.php3
-rw-r--r--actions/xrds.php3
82 files changed, 174 insertions, 87 deletions
diff --git a/actions/accesstoken.php b/actions/accesstoken.php
index cab5425bf..072ce27eb 100644
--- a/actions/accesstoken.php
+++ b/actions/accesstoken.php
@@ -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);
diff --git a/actions/all.php b/actions/all.php
index 028a3679a..526ac5f40 100644
--- a/actions/all.php
+++ b/actions/all.php
@@ -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)
{
diff --git a/actions/allrss.php b/actions/allrss.php
index 9c20cd416..660afb9e2 100644
--- a/actions/allrss.php
+++ b/actions/allrss.php
@@ -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;
diff --git a/actions/api.php b/actions/api.php
index 8ccd86f0b..dfdefe3b0 100644
--- a/actions/api.php
+++ b/actions/api.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class ApiAction extends Action {
+class ApiAction extends Action
+{
var $user;
var $content_type;
diff --git a/actions/avatarbynickname.php b/actions/avatarbynickname.php
index 4aeb4112a..666f386f6 100644
--- a/actions/avatarbynickname.php
+++ b/actions/avatarbynickname.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class AvatarbynicknameAction extends Action {
+class AvatarbynicknameAction extends Action
+{
function handle($args)
{
parent::handle($args);
diff --git a/actions/block.php b/actions/block.php
index 702adcffa..c1ff7c044 100644
--- a/actions/block.php
+++ b/actions/block.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class BlockAction extends Action {
+class BlockAction extends Action
+{
var $profile = null;
diff --git a/actions/confirmaddress.php b/actions/confirmaddress.php
index d926864a6..1d5c53ff2 100644
--- a/actions/confirmaddress.php
+++ b/actions/confirmaddress.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class ConfirmaddressAction extends Action {
+class ConfirmaddressAction extends Action
+{
function handle($args)
{
diff --git a/actions/deletenotice.php b/actions/deletenotice.php
index 4f00db617..e9b4b3254 100644
--- a/actions/deletenotice.php
+++ b/actions/deletenotice.php
@@ -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);
diff --git a/actions/deleteprofile.php b/actions/deleteprofile.php
index b1c346cb2..e12fe131a 100644
--- a/actions/deleteprofile.php
+++ b/actions/deleteprofile.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class DeleteprofileAction extends Action {
+class DeleteprofileAction extends Action
+{
function handle($args)
{
parent::handle($args);
diff --git a/actions/disfavor.php b/actions/disfavor.php
index f0b528453..74aae86cc 100644
--- a/actions/disfavor.php
+++ b/actions/disfavor.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class DisfavorAction extends Action {
+class DisfavorAction extends Action
+{
function handle($args)
{
diff --git a/actions/doc.php b/actions/doc.php
index 441ac19a7..856025e66 100644
--- a/actions/doc.php
+++ b/actions/doc.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class DocAction extends Action {
+class DocAction extends Action
+{
function handle($args)
{
diff --git a/actions/emailsettings.php b/actions/emailsettings.php
index 7f08efd29..3fa8ce296 100644
--- a/actions/emailsettings.php
+++ b/actions/emailsettings.php
@@ -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()
{
diff --git a/actions/facebookhome.php b/actions/facebookhome.php
index 006f35eca..dcdb102e6 100644
--- a/actions/facebookhome.php
+++ b/actions/facebookhome.php
@@ -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)
{
diff --git a/actions/facebookinvite.php b/actions/facebookinvite.php
index fc226e65a..48a820e44 100644
--- a/actions/facebookinvite.php
+++ b/actions/facebookinvite.php
@@ -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)
{
diff --git a/actions/facebookremove.php b/actions/facebookremove.php
index 79dc32e49..a200fefbf 100644
--- a/actions/facebookremove.php
+++ b/actions/facebookremove.php
@@ -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)
{
diff --git a/actions/facebooksettings.php b/actions/facebooksettings.php
index 03ad57813..38542d4b6 100644
--- a/actions/facebooksettings.php
+++ b/actions/facebooksettings.php
@@ -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)
{
diff --git a/actions/favor.php b/actions/favor.php
index 3ec4af0b5..8103f8181 100644
--- a/actions/favor.php
+++ b/actions/favor.php
@@ -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)
{
diff --git a/actions/favorited.php b/actions/favorited.php
index d479e1b3e..71a9e026e 100644
--- a/actions/favorited.php
+++ b/actions/favorited.php
@@ -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)
{
diff --git a/actions/favoritesrss.php b/actions/favoritesrss.php
index aa8a3c6f4..8c7ce52bf 100644
--- a/actions/favoritesrss.php
+++ b/actions/favoritesrss.php
@@ -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;
diff --git a/actions/featured.php b/actions/featured.php
index 1763adeab..2bf8b0b81 100644
--- a/actions/featured.php
+++ b/actions/featured.php
@@ -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)
{
diff --git a/actions/finishaddopenid.php b/actions/finishaddopenid.php
index d8409b6e9..0ce1680aa 100644
--- a/actions/finishaddopenid.php
+++ b/actions/finishaddopenid.php
@@ -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)
{
diff --git a/actions/finishimmediate.php b/actions/finishimmediate.php
index c4a1c1af9..0964c39f4 100644
--- a/actions/finishimmediate.php
+++ b/actions/finishimmediate.php
@@ -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)
{
diff --git a/actions/finishopenidlogin.php b/actions/finishopenidlogin.php
index eb52d73b1..bdb8516a3 100644
--- a/actions/finishopenidlogin.php
+++ b/actions/finishopenidlogin.php
@@ -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)
{
diff --git a/actions/finishremotesubscribe.php b/actions/finishremotesubscribe.php
index 5aace4fa9..cee3a1818 100644
--- a/actions/finishremotesubscribe.php
+++ b/actions/finishremotesubscribe.php
@@ -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)
{
diff --git a/actions/foaf.php b/actions/foaf.php
index 27548bfff..30e98960c 100644
--- a/actions/foaf.php
+++ b/actions/foaf.php
@@ -23,7 +23,8 @@ define('LISTENER', 1);
define('LISTENEE', -1);
define('BOTH', 0);
-class FoafAction extends Action {
+class FoafAction extends Action
+{
function is_readonly()
{
diff --git a/actions/imsettings.php b/actions/imsettings.php
index 56fb14758..8ecf200ec 100644
--- a/actions/imsettings.php
+++ b/actions/imsettings.php
@@ -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()
{
diff --git a/actions/invite.php b/actions/invite.php
index b0fc79958..80e022a3d 100644
--- a/actions/invite.php
+++ b/actions/invite.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class InviteAction extends Action {
+class InviteAction extends Action
+{
function is_readonly()
{
diff --git a/actions/login.php b/actions/login.php
index 6ad07b610..8600d44fd 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class LoginAction extends Action {
+class LoginAction extends Action
+{
function is_readonly()
{
diff --git a/actions/logout.php b/actions/logout.php
index effb5abbe..201378730 100644
--- a/actions/logout.php
+++ b/actions/logout.php
@@ -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()
{
diff --git a/actions/microsummary.php b/actions/microsummary.php
index a19a26dcf..13ddc4e3e 100644
--- a/actions/microsummary.php
+++ b/actions/microsummary.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class MicrosummaryAction extends Action {
+class MicrosummaryAction extends Action
+{
function handle($args)
{
diff --git a/actions/newmessage.php b/actions/newmessage.php
index 0a537ad2d..27fa9d518 100644
--- a/actions/newmessage.php
+++ b/actions/newmessage.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class NewmessageAction extends Action {
+class NewmessageAction extends Action
+{
function handle($args)
{
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 1f6117c1e..c412e893d 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -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)
{
diff --git a/actions/noticesearch.php b/actions/noticesearch.php
index 782c8fe98..b36fc8ad2 100644
--- a/actions/noticesearch.php
+++ b/actions/noticesearch.php
@@ -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()
{
diff --git a/actions/noticesearchrss.php b/actions/noticesearchrss.php
index c41d34873..20fe0ff2a 100644
--- a/actions/noticesearchrss.php
+++ b/actions/noticesearchrss.php
@@ -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()
{
diff --git a/actions/nudge.php b/actions/nudge.php
index e0268e9d0..a6480a582 100644
--- a/actions/nudge.php
+++ b/actions/nudge.php
@@ -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)
{
diff --git a/actions/openidlogin.php b/actions/openidlogin.php
index b8681215e..09679e372 100644
--- a/actions/openidlogin.php
+++ b/actions/openidlogin.php
@@ -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)
{
diff --git a/actions/openidsettings.php b/actions/openidsettings.php
index ce4143d41..039236048 100644
--- a/actions/openidsettings.php
+++ b/actions/openidsettings.php
@@ -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()
{
diff --git a/actions/opensearch.php b/actions/opensearch.php
index f9c6f4c57..96691fa6f 100644
--- a/actions/opensearch.php
+++ b/actions/opensearch.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class OpensearchAction extends Action {
+class OpensearchAction extends Action
+{
function handle($args)
{
diff --git a/actions/othersettings.php b/actions/othersettings.php
index dc1bcd02b..c2f08934c 100644
--- a/actions/othersettings.php
+++ b/actions/othersettings.php
@@ -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()
{
diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php
index 6d3f6a73f..0d0fae4e5 100644
--- a/actions/peoplesearch.php
+++ b/actions/peoplesearch.php
@@ -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;
diff --git a/actions/peopletag.php b/actions/peopletag.php
index c7e463026..13a0b7a41 100644
--- a/actions/peopletag.php
+++ b/actions/peopletag.php
@@ -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)
{
diff --git a/actions/postnotice.php b/actions/postnotice.php
index 8b0781dfd..dec62a678 100644
--- a/actions/postnotice.php
+++ b/actions/postnotice.php
@@ -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);
diff --git a/actions/profilesettings.php b/actions/profilesettings.php
index beb9979d0..6c22a7933 100644
--- a/actions/profilesettings.php
+++ b/actions/profilesettings.php
@@ -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()
{
diff --git a/actions/public.php b/actions/public.php
index 62be3da99..039e885e6 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -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)
{
diff --git a/actions/publicrss.php b/actions/publicrss.php
index 8e554122e..822bc2db7 100644
--- a/actions/publicrss.php
+++ b/actions/publicrss.php
@@ -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()
{
diff --git a/actions/publicxrds.php b/actions/publicxrds.php
index 63c80d81e..3d731d79f 100644
--- a/actions/publicxrds.php
+++ b/actions/publicxrds.php
@@ -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()
{
diff --git a/actions/recoverpassword.php b/actions/recoverpassword.php
index a482d4711..bb6ef81d6 100644
--- a/actions/recoverpassword.php
+++ b/actions/recoverpassword.php
@@ -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)
{
diff --git a/actions/register.php b/actions/register.php
index 444e67e35..ac14879e2 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class RegisterAction extends Action {
+class RegisterAction extends Action
+{
function handle($args)
{
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index 02c026849..a9494772e 100644
--- a/actions/remotesubscribe.php
+++ b/actions/remotesubscribe.php
@@ -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)
{
diff --git a/actions/replies.php b/actions/replies.php
index da2f27f31..eceeb4d65 100644
--- a/actions/replies.php
+++ b/actions/replies.php
@@ -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)
{
diff --git a/actions/repliesrss.php b/actions/repliesrss.php
index 19ab0866a..5f85f8d2e 100644
--- a/actions/repliesrss.php
+++ b/actions/repliesrss.php
@@ -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;
diff --git a/actions/requesttoken.php b/actions/requesttoken.php
index 091846756..a74548739 100644
--- a/actions/requesttoken.php
+++ b/actions/requesttoken.php
@@ -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()
{
diff --git a/actions/showfavorites.php b/actions/showfavorites.php
index 8131cac67..f4344833d 100644
--- a/actions/showfavorites.php
+++ b/actions/showfavorites.php
@@ -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)
{
diff --git a/actions/showmessage.php b/actions/showmessage.php
index b706fe2fa..25330a568 100644
--- a/actions/showmessage.php
+++ b/actions/showmessage.php
@@ -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)
{
diff --git a/actions/shownotice.php b/actions/shownotice.php
index abdaa72ca..2df09cb3f 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -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;
diff --git a/actions/showstream.php b/actions/showstream.php
index c31bce87a..e4e5d96d1 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -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;
diff --git a/actions/smssettings.php b/actions/smssettings.php
index 444da2590..fad71135c 100644
--- a/actions/smssettings.php
+++ b/actions/smssettings.php
@@ -22,7 +22,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
require_once(INSTALLDIR.'/actions/emailsettings.php');
-class SmssettingsAction extends EmailsettingsAction {
+class SmssettingsAction extends EmailsettingsAction
+{
function get_instructions()
{
diff --git a/actions/subedit.php b/actions/subedit.php
index 874102857..1142b7a03 100644
--- a/actions/subedit.php
+++ b/actions/subedit.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class SubeditAction extends Action {
+class SubeditAction extends Action
+{
var $profile = null;
diff --git a/actions/subscribe.php b/actions/subscribe.php
index 93884f081..f33d1d207 100644
--- a/actions/subscribe.php
+++ b/actions/subscribe.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class SubscribeAction extends Action {
+class SubscribeAction extends Action
+{
function handle($args)
{
diff --git a/actions/subscribers.php b/actions/subscribers.php
index 8c7805f51..31d0468d9 100644
--- a/actions/subscribers.php
+++ b/actions/subscribers.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/gallery.php');
-class SubscribersAction extends GalleryAction {
+class SubscribersAction extends GalleryAction
+{
function gallery_type()
{
@@ -59,7 +60,8 @@ class SubscribersAction extends GalleryAction {
}
}
-class SubscribersList extends ProfileList {
+class SubscribersList extends ProfileList
+{
function show_owner_controls($profile)
{
common_block_form($profile, array('action' => 'subscribers',
diff --git a/actions/subscriptions.php b/actions/subscriptions.php
index ad4a3f9e5..afe8fb260 100644
--- a/actions/subscriptions.php
+++ b/actions/subscriptions.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/gallery.php');
-class SubscriptionsAction extends GalleryAction {
+class SubscriptionsAction extends GalleryAction
+{
function gallery_type()
{
@@ -59,7 +60,8 @@ class SubscriptionsAction extends GalleryAction {
}
}
-class SubscriptionsList extends ProfileList {
+class SubscriptionsList extends ProfileList
+{
function show_owner_controls($profile)
{
diff --git a/actions/sup.php b/actions/sup.php
index 2a139b322..6a1897585 100644
--- a/actions/sup.php
+++ b/actions/sup.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class SupAction extends Action {
+class SupAction extends Action
+{
function handle($args)
{
diff --git a/actions/tag.php b/actions/tag.php
index d7b35d613..8a3f90c16 100644
--- a/actions/tag.php
+++ b/actions/tag.php
@@ -22,7 +22,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/actions/showstream.php');
define('TAGS_PER_PAGE', 100);
-class TagAction extends StreamAction {
+class TagAction extends StreamAction
+{
function handle($args)
{
diff --git a/actions/tagother.php b/actions/tagother.php
index ed17ac531..ff6788cc6 100644
--- a/actions/tagother.php
+++ b/actions/tagother.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
-class TagotherAction extends Action {
+class TagotherAction extends Action
+{
function handle($args)
{
diff --git a/actions/tagrss.php b/actions/tagrss.php
index bb4edf473..912d71413 100644
--- a/actions/tagrss.php
+++ b/actions/tagrss.php
@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
// Formatting of RSS handled by Rss10Action
-class TagrssAction extends Rss10Action {
+class TagrssAction extends Rss10Action
+{
function init()
{
diff --git a/actions/twitapiaccount.php b/actions/twitapiaccount.php
index d5e9143c2..79e1ed990 100644
--- a/actions/twitapiaccount.php
+++ b/actions/twitapiaccount.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class TwitapiaccountAction extends TwitterapiAction {
+class TwitapiaccountAction extends TwitterapiAction
+{
function verify_credentials($args, $apidata)
{
diff --git a/actions/twitapiblocks.php b/actions/twitapiblocks.php
index 2170141f1..5d64f2f7d 100644
--- a/actions/twitapiblocks.php
+++ b/actions/twitapiblocks.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class TwitapiblocksAction extends TwitterapiAction {
+class TwitapiblocksAction extends TwitterapiAction
+{
function create($args, $apidata)
{
diff --git a/actions/twitapidirect_messages.php b/actions/twitapidirect_messages.php
index e9f7aa0bf..e0731f66f 100644
--- a/actions/twitapidirect_messages.php
+++ b/actions/twitapidirect_messages.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class Twitapidirect_messagesAction extends TwitterapiAction {
+class Twitapidirect_messagesAction extends TwitterapiAction
+{
function direct_messages($args, $apidata)
{
diff --git a/actions/twitapifavorites.php b/actions/twitapifavorites.php
index e7a43f770..55e04732f 100644
--- a/actions/twitapifavorites.php
+++ b/actions/twitapifavorites.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class TwitapifavoritesAction extends TwitterapiAction {
+class TwitapifavoritesAction extends TwitterapiAction
+{
function favorites($args, $apidata)
{
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php
index 5eca96298..ba4afe441 100644
--- a/actions/twitapifriendships.php
+++ b/actions/twitapifriendships.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class TwitapifriendshipsAction extends TwitterapiAction {
+class TwitapifriendshipsAction extends TwitterapiAction
+{
function create($args, $apidata)
{
diff --git a/actions/twitapihelp.php b/actions/twitapihelp.php
index 27262f089..1b84cb11b 100644
--- a/actions/twitapihelp.php
+++ b/actions/twitapihelp.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class TwitapihelpAction extends TwitterapiAction {
+class TwitapihelpAction extends TwitterapiAction
+{
/* Returns the string "ok" in the requested format with a 200 OK HTTP status code.
* URL:http://identi.ca/api/help/test.format
diff --git a/actions/twitapinotifications.php b/actions/twitapinotifications.php
index e24d3829c..a19d652c3 100644
--- a/actions/twitapinotifications.php
+++ b/actions/twitapinotifications.php
@@ -22,7 +22,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
# This naming convention looks real sick
-class TwitapinotificationsAction extends TwitterapiAction {
+class TwitapinotificationsAction extends TwitterapiAction
+{
function follow($args, $apidata)
{
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index f280184c0..e629d5cc4 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class TwitapistatusesAction extends TwitterapiAction {
+class TwitapistatusesAction extends TwitterapiAction
+{
function public_timeline($args, $apidata)
{
diff --git a/actions/twitapiusers.php b/actions/twitapiusers.php
index 4644e6be6..409986985 100644
--- a/actions/twitapiusers.php
+++ b/actions/twitapiusers.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class TwitapiusersAction extends TwitterapiAction {
+class TwitapiusersAction extends TwitterapiAction
+{
function show($args, $apidata)
{
diff --git a/actions/twittersettings.php b/actions/twittersettings.php
index 1f55b31b6..26dede0ac 100644
--- a/actions/twittersettings.php
+++ b/actions/twittersettings.php
@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/settingsaction.php');
define('SUBSCRIPTIONS', 80);
-class TwittersettingsAction extends SettingsAction {
+class TwittersettingsAction extends SettingsAction
+{
function get_instructions()
{
diff --git a/actions/unblock.php b/actions/unblock.php
index 66ce0c879..112304f71 100644
--- a/actions/unblock.php
+++ b/actions/unblock.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class UnblockAction extends Action {
+class UnblockAction extends Action
+{
var $profile = null;
diff --git a/actions/unsubscribe.php b/actions/unsubscribe.php
index e4e04aaa0..1c2e13635 100644
--- a/actions/unsubscribe.php
+++ b/actions/unsubscribe.php
@@ -17,7 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class UnsubscribeAction extends Action {
+class UnsubscribeAction extends Action
+{
function handle($args)
{
diff --git a/actions/updateprofile.php b/actions/updateprofile.php
index 2cfff1b51..abb034c81 100644
--- a/actions/updateprofile.php
+++ b/actions/updateprofile.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/omb.php');
-class UpdateprofileAction extends Action {
+class UpdateprofileAction extends Action
+{
function handle($args)
{
diff --git a/actions/userauthorization.php b/actions/userauthorization.php
index c73d515d3..05efbc16c 100644
--- a/actions/userauthorization.php
+++ b/actions/userauthorization.php
@@ -22,7 +22,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/omb.php');
define('TIMESTAMP_THRESHOLD', 300);
-class UserauthorizationAction extends Action {
+class UserauthorizationAction extends Action
+{
function handle($args)
{
diff --git a/actions/userbyid.php b/actions/userbyid.php
index d7b4088bd..d57ed21a5 100644
--- a/actions/userbyid.php
+++ b/actions/userbyid.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class UserbyidAction extends Action {
+class UserbyidAction extends Action
+{
function is_readonly()
{
diff --git a/actions/userrss.php b/actions/userrss.php
index c758a44e2..1e9fe121f 100644
--- a/actions/userrss.php
+++ b/actions/userrss.php
@@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
// Formatting of RSS handled by Rss10Action
-class UserrssAction extends Rss10Action {
+class UserrssAction extends Rss10Action
+{
var $user = null;
diff --git a/actions/xrds.php b/actions/xrds.php
index 1d4961d46..7edc6aa39 100644
--- a/actions/xrds.php
+++ b/actions/xrds.php
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/omb.php');
-class XrdsAction extends Action {
+class XrdsAction extends Action
+{
function is_readonly()
{