Bolt\EventListener\ConfigListener::setVersionChangeNotice PHP Method

setVersionChangeNotice() private method

If required set a notification of version change, for admin users.
    private function setVersionChangeNotice()
    {
        if (!$this->app['config.environment']->hasVersionChange()) {
            return;
        }
        $notice = Trans::__("Detected Bolt version change to <b>%VERSION%</b>, and the cache has been cleared. Please <a href=\"%URI%\">check the database</a>, if you haven't done so already.", ['%VERSION%' => Version::VERSION, '%URI%' => $this->app['url_generator']->generate('dbcheck')]);
        $this->app['logger.system']->notice(strip_tags($notice), ['event' => 'config']);
        $this->app['logger.flash']->warning($notice);
    }