X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdberroraction.php;h=8f628fba172724377c966ccad180f76c74f27b76;hb=c6b1b3e5e3ad1c47c7bd25b5bcfb0a8cb1cb2bb5;hp=2b9fad4e6c5fd161728c9cdd50d2ea9d3f9e0a5a;hpb=d35b2d3f3c2128b147a6fa897032262c1f632262;p=quix0rs-gnu-social.git diff --git a/lib/dberroraction.php b/lib/dberroraction.php index 2b9fad4e6c..8f628fba17 100644 --- a/lib/dberroraction.php +++ b/lib/dberroraction.php @@ -6,8 +6,8 @@ * * @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://status.net/ * @@ -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://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'); }