X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-events.php;h=8852716da9b1ddc3748633e95550e374218bb520;hp=145076f9d0e4f1c4171da2325ecd9d6d43a2cf3c;hb=4001187f22197f55e5a1f211fc8defcc180f7c32;hpb=3b85bd5030ad591b0c5cb038ca534a7b50e1b319 diff --git a/inc/extensions/ext-events.php b/inc/extensions/ext-events.php index 145076f9d0..8852716da9 100644 --- a/inc/extensions/ext-events.php +++ b/inc/extensions/ext-events.php @@ -39,13 +39,10 @@ if (!defined('__SECURITY')) { } // Version number -$EXT_VERSION = "0.0"; - -// Auto-set extension version -if (empty($EXT_VER)) $EXT_VER = $EXT_VERSION; +EXT_SET_VERSION("0.0"); // Version history array (add more with , "0.1" and so on) -$EXT_VER_HISTORY = array("0.0"); +EXT_SET_VER_HISTORY(array("0.0")); switch ($EXT_LOAD_MODE) { @@ -69,14 +66,17 @@ case "update": // Update an extension switch ($EXT_VER) { case "0.0.1": // SQL queries for v0.0.1 - $SQLs[] = ""; + ADD_SQL(""); // Update notes (these will be set as task text!) - $UPDATE_NOTES = ""; + EXT_SET_UPDATE_NOTES(""); break; } break; +case "modify": // When the extension got modified + break; + case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305. break;