X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdberroraction.php;h=8f628fba172724377c966ccad180f76c74f27b76;hb=586fb5a5175d7a10f5f78dd026434e48202e5451;hp=bd8ccdd3109276e5e551be1ef6f0e3d17d56c670;hpb=865b716f0919b6e5133133cd6be53f4143660324;p=quix0rs-gnu-social.git diff --git a/lib/dberroraction.php b/lib/dberroraction.php index bd8ccdd310..8f628fba17 100644 --- a/lib/dberroraction.php +++ b/lib/dberroraction.php @@ -28,7 +28,7 @@ * along with this program. If not, see . */ -if (!defined('STATUSNET')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/servererroraction.php'; * @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'); }