MDL-29960 repository/dropbox - remove unsused code
authorDan Poltawski <dan.poltawski@luns.net.uk>
Fri, 25 Nov 2011 09:47:32 +0000 (09:47 +0000)
committerDan Poltawski <dan.poltawski@luns.net.uk>
Fri, 25 Nov 2011 09:59:01 +0000 (09:59 +0000)
This function calls an API request which may be changed from the
version 0 of the API

repository/dropbox/locallib.php

index 7941951..c5edf11 100644 (file)
@@ -52,15 +52,6 @@ class dropbox extends oauth_helper {
         return $data;
     }
 
-    /**
-     * Get user account info
-     */
-    public function get_account_info($token, $secret) {
-        $url = $this->dropbox_api.'/account/info';
-        $content = $this->get($url, array(), $token, $secret);
-        return $content;
-    }
-
     /**
      * Download a file
      */