Documentation

InstallationCanary
in package

Class InstallationCanary

Table of Contents

Methods

check()  : mixed
Check whether the install has run before.

Methods

check()

Check whether the install has run before.

public static check(SystemInstallEvent $event) : mixed

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
$event : SystemInstallEvent
Tags
throws
CRM_Core_Exception

        
On this page

Search results