X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdberroraction.php;h=8f628fba172724377c966ccad180f76c74f27b76;hb=b5c5d8d3933c9694bd105fc1e1f06bc96da2dc79;hp=c81f01fca357618244e76cf273de0baa145a807b;hpb=4737563b957e84ee06d07f373af533b2f037497a;p=quix0rs-gnu-social.git diff --git a/lib/dberroraction.php b/lib/dberroraction.php index c81f01fca3..8f628fba17 100644 --- a/lib/dberroraction.php +++ b/lib/dberroraction.php @@ -6,10 +6,10 @@ * * @category Action * @package StatusNet - * @author Evan Prodromou - * @author Zach Copley + * @author Evan Prodromou + * @author Zach Copley * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 - * @link http://laconi.ca/ + * @link http://status.net/ * * StatusNet - the distributed open-source microblogging tool * Copyright (C) 2008, 2009, StatusNet, Inc. @@ -28,7 +28,7 @@ * along with this program. If not, see . */ -if (!defined('LACONICA')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -43,11 +43,10 @@ require_once INSTALLDIR.'/lib/servererroraction.php'; * * @category Action * @package StatusNet - * @author Evan Prodromou + * @author Evan Prodromou * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 - * @link http://laconi.ca/ + * @link http://status.net/ */ - class DBErrorAction extends ServerErrorAction { function __construct($message='Error', $code=500) @@ -57,6 +56,7 @@ class DBErrorAction extends ServerErrorAction function title() { + // TRANS: Page title for when a database error occurs. return _('Database error'); }