From: Aaron Schulz Date: Wed, 24 Sep 2008 16:13:50 +0000 (+0000) Subject: Uncomment out needed code, PN2 not wanting to save :/ X-Git-Tag: 1.31.0-rc.0~45112 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=a005e36e672e7997d83ff75b35c8e21cdb981c64;p=lhc%2Fweb%2Fwiklou.git Uncomment out needed code, PN2 not wanting to save :/ --- diff --git a/includes/ExternalStoreDB.php b/includes/ExternalStoreDB.php index cb3c331c5b..1cd54650ae 100644 --- a/includes/ExternalStoreDB.php +++ b/includes/ExternalStoreDB.php @@ -123,9 +123,9 @@ class ExternalStoreDB { */ function store( $cluster, $data ) { $dbw = $this->getMaster( $cluster ); - #if( !$dbw ) { - # return false; - #} + if( !$dbw ) { + return false; + } $id = $dbw->nextSequenceValue( 'blob_blob_id_seq' ); $dbw->insert( $this->getTable( $dbw ), array( 'blob_id' => $id, 'blob_text' => $data ),