From 8b0e748ca8a529fd5bd87b2b2382c9d24a731c84 Mon Sep 17 00:00:00 2001 From: "Fedor A. Fetisov" Date: Thu, 27 Sep 2018 19:33:36 +0300 Subject: [PATCH] Initialize localization constant during install --- Plugin.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Plugin.php b/Plugin.php index 47417b5..c2998c5 100644 --- a/Plugin.php +++ b/Plugin.php @@ -123,6 +123,9 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi */ public static function install() { + // Initialize localization constant + getlocal('All our operators are currently busy, please hold. Sorry for keeping you waiting.'); + return Database::getInstance()->query( 'CREATE TABLE {mibew_autoreply} ( ' . 'threadid INT NOT NULL PRIMARY KEY'