summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-11-12 12:28:44 -0800
committerBrion Vibber <brion@status.net>2010-11-12 12:28:44 -0800
commit5d12ec0532fa9bcc71644186f6ff80f2b527703c (patch)
tree5a62c9af56efa0cdf47a06bf0fe26c8efbf8f7b7 /lib/util.php
parentfdf3a23da7769586a818ca2219ec6bc1b46587de (diff)
parentcb124fe831a3c77dfca89590ebb8d691685bb573 (diff)
Merge branch 'oembed-thumbnails' into 0.9.x
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 8f2a9f173..e6b62f750 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -877,7 +877,7 @@ function common_linkify($url) {
}
if (!empty($f)) {
- if ($f->getEnclosure() || File_oembed::staticGet('file_id',$f->id)) {
+ if ($f->getEnclosure()) {
$is_attachment = true;
$attachment_id = $f->id;