Uncomment out needed code, PN2 not wanting to save :/
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 24 Sep 2008 16:13:50 +0000 (16:13 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 24 Sep 2008 16:13:50 +0000 (16:13 +0000)
includes/ExternalStoreDB.php

index cb3c331..1cd5465 100644 (file)
@@ -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 ),