X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fframework.php;h=8f5cdf31c648a7a1b0da12128493d9f91b165689;hb=eb6b4628b95f1bb770b01df86eacab756f28364b;hp=e7a1829bc697065d4ad56ea0feb21609fa0934f3;hpb=a4bf33d6b5f40e1e6f7a16c698c840301d085ddf;p=quix0rs-gnu-social.git diff --git a/lib/framework.php b/lib/framework.php index e7a1829bc6..8f5cdf31c6 100644 --- a/lib/framework.php +++ b/lib/framework.php @@ -19,13 +19,13 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } -define('STATUSNET_BASE_VERSION', '1.0.1'); -define('STATUSNET_LIFECYCLE', ''); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release' +define('STATUSNET_BASE_VERSION', '1.1.0'); +define('STATUSNET_LIFECYCLE', 'dev'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release' define('STATUSNET_VERSION', STATUSNET_BASE_VERSION . STATUSNET_LIFECYCLE); define('LACONICA_VERSION', STATUSNET_VERSION); // compatibility -define('STATUSNET_CODENAME', 'Get It Together'); +define('STATUSNET_CODENAME', 'Fight for Your Right'); define('AVATAR_PROFILE_SIZE', 96); define('AVATAR_STREAM_SIZE', 48); @@ -34,7 +34,6 @@ define('AVATAR_MINI_SIZE', 24); define('NOTICES_PER_PAGE', 20); define('PROFILES_PER_PAGE', 20); define('MESSAGES_PER_PAGE', 20); -define('GROUPS_PER_PAGE', 20); define('FOREIGN_NOTICE_SEND', 1); define('FOREIGN_NOTICE_RECV', 2); @@ -170,10 +169,9 @@ function PEAR_ErrorToPEAR_Exception($err) } if ($err->getCode()) { - throw new PEAR_Exception($msg, $err, $err->getCode()); - } else { - throw new PEAR_Exception($msg, $err); + throw new PEAR_Exception($err->getMessage(), $err->getCode()); } + throw new PEAR_Exception($err->getMessage()); } PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'PEAR_ErrorToPEAR_Exception');