3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
14 use Civi\Core\Event\SystemInstallEvent
;
17 * Class DatabaseInitializer
20 class DatabaseInitializer
{
23 * Flush system to build the menu and MySQL triggers
25 * @param \Civi\Core\Event\SystemInstallEvent $event
26 * @throws \CRM_Core_Exception
28 public static function initialize(SystemInstallEvent
$event) {
34 civicrm_api('System', 'flush', $api_params);