]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Pull back for now on switch of PEAR error mode to exceptions; seems to trigger out...
authorBrion Vibber <brion@pobox.com>
Tue, 16 Mar 2010 23:23:19 +0000 (16:23 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 16 Mar 2010 23:24:31 +0000 (16:24 -0700)
commit88f66131a1b11de81d1aece68683ef3396ccf98b
tree3a5bd9f023bd6c3c796f3858a818bf1a12da3c08
parentd9a9fd3779c592e3f4e0a8aea8e385ee2183c0b3
Pull back for now on switch of PEAR error mode to exceptions; seems to trigger out exceptions at various times we don't want them.

For instance this was throwing an exception for DB_DataObject::staticGet when there's no match... definitely not what we want when all our code expects to get a nice null.
Example of this causing trouble: http://gitorious.org/statusnet/mainline/merge_requests/131

Revert "Don't attempt to retrieve the current user from the DB while processing a DB error"

This reverts commit 68347691b0c7fb3f81415abd7fcdc5aec85cc554.

Revert "Use PHP exceptions for PEAR error handling."

This reverts commit d8212977ce7f911d4f9bd6e55f94aea059a86782.
index.php
lib/common.php