Better typing in lib/framework.php
This commit is contained in:
parent
8a119dc970
commit
f9f7c46751
@ -144,7 +144,7 @@ require_once INSTALLDIR.'/lib/action.php';
|
|||||||
require_once INSTALLDIR.'/lib/mail.php';
|
require_once INSTALLDIR.'/lib/mail.php';
|
||||||
|
|
||||||
//set PEAR error handling to use regular PHP exceptions
|
//set PEAR error handling to use regular PHP exceptions
|
||||||
function PEAR_ErrorToPEAR_Exception($err)
|
function PEAR_ErrorToPEAR_Exception(PEAR_Error $err)
|
||||||
{
|
{
|
||||||
//DB_DataObject throws error when an empty set would be returned
|
//DB_DataObject throws error when an empty set would be returned
|
||||||
//That behavior is weird, and not how the rest of StatusNet works.
|
//That behavior is weird, and not how the rest of StatusNet works.
|
||||||
|
Loading…
Reference in New Issue
Block a user