Shahiem/CKeditor — pull request #6 by Flynsarmy (2014-08-15 00:48:06+00:00)
Title: Only do Settings DB query when necessary

The `boot()` method executes on every page load, backend and front. At the top of it we're currently calling `Settings::get('show_cms_content_as_wysiwyg', false)` which requests the info from the DB. This is an unnecessary DB call 99% of the time so I've moved it into the Event hook. It will now only be called when it needs to be used.