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
This commit is contained in:
zach 2008-07-15 00:31:21 -04:00
parent efd14edf5c
commit 3df358a9e9
9 changed files with 9 additions and 9 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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) {

View File

@ -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

View File

@ -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) {

View File

@ -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