documentation

This commit is contained in:
John Bintz 2009-08-11 18:18:33 -04:00
parent 28a7f50a49
commit 7bed32fbff

View File

@ -122,6 +122,7 @@ class WhatDidTheySay {
/** /**
* Update a queued transcript. * Update a queued transcript.
* @param array $update_info The info on the transcript being updated. * @param array $update_info The info on the transcript being updated.
* @return boolean True if the transcript was updated.
*/ */
function update_queued_transcription($update_info) { function update_queued_transcription($update_info) {
global $wpdb; global $wpdb;
@ -141,11 +142,18 @@ class WhatDidTheySay {
$this->table, $result->language, $result->transcript, $result->id $this->table, $result->language, $result->transcript, $result->id
); );
$wpdb->query($query); $wpdb->query($query);
return true;
} }
} }
} }
return false;
} }
/**
* Delete a queued transcript.
* @param int $transcription_id The transcription to delete.
* @return boolean True if the transcript was deleted.
*/
function delete_queued_transcription($transcription_id) { function delete_queued_transcription($transcription_id) {
global $wpdb; global $wpdb;