summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-07-15 00:31:21 -0400
committerzach <zach@copley.name>2008-07-15 00:31:21 -0400
commit3df358a9e98328de4d865b91a5900f834a1f195a (patch)
treed3da12870d887463610814d65722edc26b66859e /actions
parentefd14edf5c985be04c74bd64fffbbf92c1530ea4 (diff)
Prepended 'Twit' to Twitter-compatible API actions (renamed action
files) to make it more clear what the action files are for. darcs-hash:20080715043121-ca946-bb7acd42271117dbb77d5e16292673a4b8cfad53.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/api.php2
-rw-r--r--actions/twitapiaccount.php (renamed from actions/apiaccount.php)2
-rw-r--r--actions/twitapiblocks.php (renamed from actions/apiblocks.php)2
-rw-r--r--actions/twitapidirect_messages.php (renamed from actions/apidirect_messages.php)2
-rw-r--r--actions/twitapifavorites.php (renamed from actions/apifavorites.php)2
-rw-r--r--actions/twitapifriendships.php (renamed from actions/apifriendships.php)2
-rw-r--r--actions/twitapihelp.php (renamed from actions/apihelp.php)2
-rw-r--r--actions/twitapinotifications.php (renamed from actions/apinotifications.php)2
-rw-r--r--actions/twitapistatuses.php (renamed from actions/apistatuses.php)2
9 files changed, 9 insertions, 9 deletions
diff --git a/actions/api.php b/actions/api.php
index 2e7ed3558..badd4a42a 100644
--- a/actions/api.php
+++ b/actions/api.php
@@ -76,7 +76,7 @@ class ApiAction extends Action {
}
function process_command() {
- $action = "api$this->api_action";
+ $action = "twitapi$this->api_action";
$actionfile = INSTALLDIR."/actions/$action.php";
if (file_exists($actionfile)) {
require_once($actionfile);
diff --git a/actions/apiaccount.php b/actions/twitapiaccount.php
index 2be53122e..93e0844c1 100644
--- a/actions/apiaccount.php
+++ b/actions/twitapiaccount.php
@@ -21,7 +21,7 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class ApiaccountAction extends TwitterapiAction {
+class TwitapiaccountAction extends TwitterapiAction {
function verify_credentials($args, $apidata) {
parent::handle($args);
diff --git a/actions/apiblocks.php b/actions/twitapiblocks.php
index c9c7a0082..a498d2038 100644
--- a/actions/apiblocks.php
+++ b/actions/twitapiblocks.php
@@ -21,7 +21,7 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class ApiblocksAction extends TwitterapiAction {
+class TwitapiblocksAction extends TwitterapiAction {
function create($args, $apidata) {
parent::handle($args);
diff --git a/actions/apidirect_messages.php b/actions/twitapidirect_messages.php
index 351a4bb29..e7f3e1266 100644
--- a/actions/apidirect_messages.php
+++ b/actions/twitapidirect_messages.php
@@ -21,7 +21,7 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class Apidirect_messagesAction extends TwitterapiAction {
+class Twitapidirect_messagesAction extends TwitterapiAction {
function direct_messages($args, $apidata) {
parent::handle($args);
diff --git a/actions/apifavorites.php b/actions/twitapifavorites.php
index db8ad1062..a4afa732a 100644
--- a/actions/apifavorites.php
+++ b/actions/twitapifavorites.php
@@ -21,7 +21,7 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class ApifavoritesAction extends TwitterapiAction {
+class TwitapifavoritesAction extends TwitterapiAction {
function favorites($args, $apidata) {
parent::handle($args);
diff --git a/actions/apifriendships.php b/actions/twitapifriendships.php
index 4368f84d5..e4888008b 100644
--- a/actions/apifriendships.php
+++ b/actions/twitapifriendships.php
@@ -21,7 +21,7 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class ApifriendshipsAction extends TwitterapiAction {
+class TwitapifriendshipsAction extends TwitterapiAction {
function create($args, $apidata) {
diff --git a/actions/apihelp.php b/actions/twitapihelp.php
index 66a08c99a..5a35d8442 100644
--- a/actions/apihelp.php
+++ b/actions/twitapihelp.php
@@ -21,7 +21,7 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
-class ApihelpAction 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/apinotifications.php b/actions/twitapinotifications.php
index 98d96107d..45a33427b 100644
--- a/actions/apinotifications.php
+++ b/actions/twitapinotifications.php
@@ -22,7 +22,7 @@ if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/twitterapi.php');
# This naming convention looks real sick
-class ApinotificationsAction extends TwitterapiAction {
+class TwitapinotificationsAction extends TwitterapiAction {
function follow($args, $apidata) {
diff --git a/actions/apistatuses.php b/actions/twitapistatuses.php
index b43823643..7ac9167d3 100644
--- a/actions/apistatuses.php
+++ b/actions/twitapistatuses.php
@@ -25,7 +25,7 @@ require_once(INSTALLDIR.'/lib/twitterapi.php');
* They are mostly in here for reference while I work on the
* API. I'll fix things up to make them look better later. -- Zach
*/
-class ApistatusesAction extends TwitterapiAction {
+class TwitapistatusesAction extends TwitterapiAction {
/*
* Returns the 20 most recent statuses from non-protected users who have set a custom