diff --git a/includes/services/core/http-basic.php b/includes/services/core/http-basic.php index 50f28379fd6..44fe015b5b8 100644 --- a/includes/services/core/http-basic.php +++ b/includes/services/core/http-basic.php @@ -6,6 +6,8 @@ * which is where the user/pass will be tested against (for a 401 response). * * @package Keyring + * + * @deprecated No longer used by the plugin itself. */ class Keyring_Service_HTTP_Basic extends Keyring_Service { protected $username = null; diff --git a/includes/services/extended/delicious.php b/includes/services/extended/delicious.php deleted file mode 100644 index 4ace4c078e9..00000000000 --- a/includes/services/extended/delicious.php +++ /dev/null @@ -1,40 +0,0 @@ -set_endpoint( 'verify', 'https://api.del.icio.us/v1/posts/update', 'GET' ); - $this->requires_token( true ); - } - - function _get_credentials() { - return false; - } - - function parse_response( $data ) { - return simplexml_load_string( $data ); - } - - function get_display( Keyring_Access_Token $token ) { - return $token->get_meta( 'username' ); - } - - function test_connection() { - $response = $this->request( 'https://api.del.icio.us/v1/posts/all?results=1' ); - if ( ! Keyring_Util::is_error( $response ) ) { - return true; - } - - return $response; - } -} - -add_action( 'keyring_load_services', array( 'Keyring_Service_Delicious', 'init' ) );