adium 3407:25fd8e23398e: Removed the kl.am url shortener fixes #...

commits at adium.im commits at adium.im
Sun Oct 24 19:51:55 UTC 2010


details:	http://hg.adium.im/adium/rev/25fd8e23398e
revision:	3407:25fd8e23398e
author:		Shawn Khan
date:		Sun Oct 24 11:57:06 2010 -0400

Removed the kl.am url shortener fixes #14412

Having removed the kl.am shorter code where the Dictionary defines kl.am and the other three shoterners.  I also removed the case AIKlam to get rid of the api url code.

r=wix

diffs (44 lines):

diff -r 005b29cd195d -r 25fd8e23398e Copyright.txt
--- a/Copyright.txt	Sun Oct 24 15:05:02 2010 +0200
+++ b/Copyright.txt	Sun Oct 24 11:57:06 2010 -0400
@@ -46,6 +46,7 @@
 Alan Humpherys
 Adam Iser
 Daniel M. Jordan
+Shawn Khan
 Severin Klaus
 Eitan Konigsburg
 Alexander Kolov
diff -r 005b29cd195d -r 25fd8e23398e Source/AIURLShortenerPlugin.h
--- a/Source/AIURLShortenerPlugin.h	Sun Oct 24 15:05:02 2010 +0200
+++ b/Source/AIURLShortenerPlugin.h	Sun Oct 24 11:57:06 2010 -0400
@@ -21,7 +21,6 @@
 	AITinyURL = 0,
 	AIisgd,
 	AIMetamark,
-	AIKlam,
 	AINumberOfShortenLinkServices
 } AIShortenLinkService;
 
diff -r 005b29cd195d -r 25fd8e23398e Source/AIURLShortenerPlugin.m
--- a/Source/AIURLShortenerPlugin.m	Sun Oct 24 15:05:02 2010 +0200
+++ b/Source/AIURLShortenerPlugin.m	Sun Oct 24 11:57:06 2010 -0400
@@ -105,7 +105,6 @@
 	NSDictionary *shorteners = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInteger:AITinyURL], @"tinyurl.com",
 																		  [NSNumber numberWithInteger:AIisgd], @"is.gd",
 																		  [NSNumber numberWithInteger:AIMetamark], @"xrl.us",
-																		  [NSNumber numberWithInteger:AIKlam], @"kl.am",
 																		  nil];
 
 	[menu removeAllItems];
@@ -246,10 +245,6 @@
 			request = [NSString stringWithFormat:@"http://metamark.net/api/rest/simple?long_url=%@", [address stringByAddingPercentEscapesForAllCharacters]];
 			break;
 			
-		case AIKlam:
-			request = [NSString stringWithFormat:@"http://kl.am/api/shorten?url=%@&format=text", [address stringByAddingPercentEscapesForAllCharacters]];
-			break;
-			
 		default:
 			
 			break;




More information about the commits mailing list