Revision ef37f43f core/triggers/interface_99_modMyModule_MyTrigger.class.php

b/core/triggers/interface_99_modMyModule_MyTrigger.class.php
33 33
 * - The name property name must be Mytrigger
34 34
 */
35 35

  
36
/** Includes */
36 37
require_once DOL_DOCUMENT_ROOT . '/core/lib/admin.lib.php';
37 38
require_once DOL_DOCUMENT_ROOT . dol_buildpath('/mymodule/class/MyTrigger.php', 1);
38 39

  
......
108 109
		}
109 110
	}
110 111

  
112
    // @codingStandardsIgnoreStart
111 113
	/**
112 114
	 * Compatibility trigger function for Dolibarr < 3.7
113 115
	 *
......
119 121
	 * @return int                  <0 if KO, 0 if no triggered ran, >0 if OK
120 122
	 * @deprecated Replaced by DolibarrTriggers::runTrigger()
121 123
	 */
122
	// @codingStandardsIgnoreStart
123 124
	public function run_trigger($action, $object, $user, $langs, $conf)
124 125
	{
125 126
		return $this->runTrigger($action, $object, $user, $langs, $conf);

Also available in: Unified diff