Skip to content

Commit

Permalink
Initialize localization constant during install
Browse files Browse the repository at this point in the history
  • Loading branch information
faf committed Sep 27, 2018
1 parent eb5dd77 commit 8b0e748
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ public function autoReply($args)
*/
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'
Expand Down

0 comments on commit 8b0e748

Please sign in to comment.