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:
parent
5e4288a658
commit
e4ea50b35e
1 changed files with 3 additions and 1 deletions
|
|
@ -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 ),
|
||||
|
|
|
|||
Loading…
Reference in a new issue