summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-11-15 11:30:35 -0800
committerBrion Vibber <brion@pobox.com>2010-11-15 11:30:35 -0800
commit57ec01d0b8c6d46fba1c0aca258dec690f408c60 (patch)
tree828c222db929ebe378f0d687192a95987160e68c
parentc8445299c71c17e8f652584a05aac65ef7b55ac5 (diff)
Drop some debug lines
-rw-r--r--lib/oembedhelper.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/oembedhelper.php b/lib/oembedhelper.php
index 0ffea468b..8cd4a9dc4 100644
--- a/lib/oembedhelper.php
+++ b/lib/oembedhelper.php
@@ -69,7 +69,6 @@ class oEmbedHelper
*/
public static function getObject($url, $params=array())
{
- common_log(LOG_INFO, 'QQQ: wtf? ' . $url);
$host = parse_url($url, PHP_URL_HOST);
if (substr($host, 0, 4) == 'www.') {
$host = substr($host, 4);
@@ -86,9 +85,7 @@ class oEmbedHelper
// Whitelist: known API endpoints for sites that don't provide discovery...
if (array_key_exists($host, self::$apiMap)) {
$api = self::$apiMap[$host];
- common_log(LOG_INFO, 'QQQ: going to: ' . $api);
} else {
- common_log(LOG_INFO, 'QQQ: no map for ' . $host);
try {
$api = self::discover($url);
} catch (Exception $e) {
@@ -100,7 +97,6 @@ class oEmbedHelper
throw $e;
}
}
- common_log(LOG_INFO, 'QQQ: going to: ' . $api);
}
return self::getObjectFrom($api, $url, $params);
}