summaryrefslogtreecommitdiff
path: root/classes/File_oembed.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-10 14:31:29 -0800
committerBrion Vibber <brion@pobox.com>2010-03-10 15:13:16 -0800
commit294b290dd95a2e4a09026932a2b066ccee587681 (patch)
treea72e5d3c141dfb35bfc6528a4fa06494765e8022 /classes/File_oembed.php
parentf02cb7c71800e6a4426b92ce04c4b8f89006b10a (diff)
Fixup script for files w/ bogus data saved into file record ('h bug')
Diffstat (limited to 'classes/File_oembed.php')
-rw-r--r--classes/File_oembed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/File_oembed.php b/classes/File_oembed.php
index f59eaf24c..041b44740 100644
--- a/classes/File_oembed.php
+++ b/classes/File_oembed.php
@@ -84,10 +84,10 @@ class File_oembed extends Memcached_DataObject
/**
* Save embedding info for a new file.
*
- * @param array $data lookup data as from File_redirection::where
+ * @param object $data Services_oEmbed_Object_*
* @param int $file_id
*/
- function saveNew(array $data, $file_id) {
+ function saveNew($data, $file_id) {
$file_oembed = new File_oembed;
$file_oembed->file_id = $file_id;
$file_oembed->version = $data->version;