Загрузка...
Поиск...
Не найдено
14 private const OPTION_NAME =
'catalog_access_install_in_progress';
23 return Option::get(
'catalog', self::OPTION_NAME) ===
'Y';
31 public static function start(): void
33 if (self::inProgress())
38 Option::set(
'catalog', self::OPTION_NAME,
'Y');
46 public static function finish(): void
48 Option::delete(
'catalog', [
49 'name' => self::OPTION_NAME,