class InstallationCanary

Class InstallationCanary

Methods

static 
check(SystemInstallEvent $event)

Check whether the install has run before.

Details

at line 51
static check(SystemInstallEvent $event)

Check whether the install has run before.

Circa v4.7.betaX, we introduced a new mechanism for tracking installation and firing a post-install event. However, it's fairly difficult to test the edge-cases directly, so this canary should fire if there are any problems in the design/implementation of the installation-tracker.

This should not exist. It should be removed in a future version.

Parameters

SystemInstallEvent $event

Exceptions

CRM_Core_Exception