Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / lib / schemaupdater.php
index 03892970c5d3794b68a793d3c3c21141daf3d5cf..575080a7bc2f906327a547dd8f18c686b51b9093 100644 (file)
@@ -98,7 +98,6 @@ class SchemaUpdater
     {
         $checksums = array();
 
-        PEAR::pushErrorHandling(PEAR_ERROR_EXCEPTION);
         try {
             $sv = new Schema_version();
             $sv->find();
@@ -111,7 +110,6 @@ class SchemaUpdater
             // no dice!
             common_debug("Possibly schema_version table doesn't exist yet.");
         }
-        PEAR::popErrorHandling();
 
         return $checksums;
     }
@@ -124,7 +122,6 @@ class SchemaUpdater
      */
     protected function saveChecksum($table, $checksum)
     {
-        PEAR::pushErrorHandling(PEAR_ERROR_EXCEPTION);
         try {
             $sv = new Schema_version();
             $sv->table_name = $table;
@@ -139,7 +136,6 @@ class SchemaUpdater
             // no dice!
             common_debug("Possibly schema_version table doesn't exist yet.");
         }
-        PEAR::popErrorHandling();
         $this->checksums[$table] = $checksum;
     }
 }