Revert untested code change from r41086. Don't call methods on non-objects, the fatal will stop even with the error catching.

This commit is contained in:
Aaron Schulz 2008-09-24 16:09:06 +00:00
parent 5e4288a658
commit e4ea50b35e

View file

@ -123,7 +123,9 @@ class ExternalStoreDB {
*/
function store( $cluster, $data ) {
$dbw = $this->getMaster( $cluster );
#if( !$dbw ) {
# return false;
#}
$id = $dbw->nextSequenceValue( 'blob_blob_id_seq' );
$dbw->insert( $this->getTable( $dbw ),
array( 'blob_id' => $id, 'blob_text' => $data ),