summaryrefslogtreecommitdiff
path: root/actions/twitapiaccount.php
diff options
context:
space:
mode:
authorzach <zach@controlyourself.ca>2008-10-24 17:37:45 -0400
committerzach <zach@controlyourself.ca>2008-10-24 17:37:45 -0400
commitf8a73c157e6dbe0bc2b2dae33802d5b306a7012d (patch)
tree4e458c85ac6ead9afcefe9e4bf3c39dd680aaefc /actions/twitapiaccount.php
parent18d4226ead47b08af03f5e659822389a3cd6bbc9 (diff)
Twitter-compatible API - checks for is_readonly() now work!
darcs-hash:20081024213745-462f3-7c26611e7f75265affafd471c3d66e02ec7e686e.gz
Diffstat (limited to 'actions/twitapiaccount.php')
-rw-r--r--actions/twitapiaccount.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/actions/twitapiaccount.php b/actions/twitapiaccount.php
index 4ce61f353..bb59005a9 100644
--- a/actions/twitapiaccount.php
+++ b/actions/twitapiaccount.php
@@ -23,20 +23,6 @@ require_once(INSTALLDIR.'/lib/twitterapi.php');
class TwitapiaccountAction extends TwitterapiAction {
- function is_readonly() {
-
- static $write_methods = array( 'update_location',
- 'update_delivery_device');
-
- $cmdtext = explode('.', $this->arg('method'));
-
- if (in_array($cmdtext[0], $write_methods)) {
- return false;
- }
-
- return true;
- }
-
function verify_credentials($args, $apidata) {
if ($apidata['content-type'] == 'xml') {