summaryrefslogtreecommitdiff
path: root/actions/twitapiaccount.php
diff options
context:
space:
mode:
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') {