mirror of
https://github.com/Mibew/auto-reply-plugin.git
synced 2025-01-22 16:50:30 +03:00
Initialize localization constant during install
This commit is contained in:
parent
eb5dd776fa
commit
8b0e748ca8
@ -123,6 +123,9 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
|
|||||||
*/
|
*/
|
||||||
public static function install()
|
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(
|
return Database::getInstance()->query(
|
||||||
'CREATE TABLE {mibew_autoreply} ( '
|
'CREATE TABLE {mibew_autoreply} ( '
|
||||||
. 'threadid INT NOT NULL PRIMARY KEY'
|
. 'threadid INT NOT NULL PRIMARY KEY'
|
||||||
|
Loading…
Reference in New Issue
Block a user