Handle captcha during subscription [MAILPOET-2015]

This commit is contained in:
wxa
2019-07-04 20:19:00 +03:00
committed by M. Shull
parent 08af443c1f
commit b174a55d07
11 changed files with 194 additions and 37 deletions

View File

@@ -179,6 +179,7 @@ class Initializer {
function initialize() {
try {
$this->setupSession();
$this->maybeDbUpdate();
$this->setupInstaller();
$this->setupUpdater();
@@ -207,6 +208,11 @@ class Initializer {
define(self::INITIALIZED, true);
}
function setupSession() {
$session = new Session;
$session->init();
}
function maybeDbUpdate() {
try {
$current_db_version = $this->settings->get('db_version');