From 7bed32fbffe8a8b9ed407c6ce5c22cd09ce03322 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 11 Aug 2009 18:18:33 -0400 Subject: [PATCH] documentation --- classes/WhatDidTheySay.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/classes/WhatDidTheySay.php b/classes/WhatDidTheySay.php index b92a646..bbc0d06 100644 --- a/classes/WhatDidTheySay.php +++ b/classes/WhatDidTheySay.php @@ -122,6 +122,7 @@ class WhatDidTheySay { /** * Update a queued transcript. * @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) { global $wpdb; @@ -141,11 +142,18 @@ class WhatDidTheySay { $this->table, $result->language, $result->transcript, $result->id ); $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) { global $wpdb;