X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fschemaupdater.php;h=38b5b93865255cc719875385f9e927c999da4abe;hb=67a9c0415c395d92adeb784413bb9a88fba7347f;hp=ae746c10b546a4919fde4ab68f63a6943c5194cc;hpb=c94d9994d898eddf654121ac45d455891954e830;p=quix0rs-gnu-social.git diff --git a/lib/schemaupdater.php b/lib/schemaupdater.php index ae746c10b5..38b5b93865 100644 --- a/lib/schemaupdater.php +++ b/lib/schemaupdater.php @@ -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_log(LOG_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_log(LOG_DEBUG, "Possibly schema_version table doesn't exist yet."); } - PEAR::popErrorHandling(); $this->checksums[$table] = $checksum; } }