Clean code
This commit is contained in:
parent
9e3742ab81
commit
11d18fae4a
@ -18,17 +18,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file core/triggers/interface_99_modZapier_ZapierTriggers.class.php
|
* \file core/triggers/interface_99_modZapier_ZapierTriggers.class.php
|
||||||
* \ingroup zapier
|
* \ingroup zapier
|
||||||
* \brief Example trigger.
|
* \brief File for Zappier Triggers.
|
||||||
*
|
|
||||||
*
|
|
||||||
* \remarks You can create other triggers by copying this one.
|
|
||||||
* - File name should be either:
|
|
||||||
* - interface_99_modZapier_MyTrigger.class.php
|
|
||||||
* - interface_99_all_MyTrigger.class.php
|
|
||||||
* - The file must stay in core/triggers
|
|
||||||
* - The class name must be InterfaceMytrigger
|
|
||||||
* - The constructor method must be named InterfaceMytrigger
|
|
||||||
* - The name property name must be MyTrigger
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/triggers/dolibarrtriggers.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/triggers/dolibarrtriggers.class.php';
|
||||||
|
|||||||
@ -28,8 +28,6 @@
|
|||||||
* - interface_99_all_MyTrigger.class.php
|
* - interface_99_all_MyTrigger.class.php
|
||||||
* - The file must stay in core/triggers
|
* - The file must stay in core/triggers
|
||||||
* - The class name must be InterfaceMytrigger
|
* - The class name must be InterfaceMytrigger
|
||||||
* - The constructor method must be named InterfaceMytrigger
|
|
||||||
* - The name property name must be MyTrigger
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/triggers/dolibarrtriggers.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/triggers/dolibarrtriggers.class.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user