X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-network.php;h=fb5bda3e065fdef04f35572bf38802aa7b8a82b7;hb=473292484ab8520bc6ba5fbab025cb057ac9e70f;hp=67d04e4787ae90263c268fac40c856c7f8389311;hpb=a0481c5d1eaeed28ecd717d6105d82979d0699bf;p=mailer.git diff --git a/inc/extensions/ext-network.php b/inc/extensions/ext-network.php index 67d04e4787..fb5bda3e06 100644 --- a/inc/extensions/ext-network.php +++ b/inc/extensions/ext-network.php @@ -38,13 +38,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) { @@ -68,14 +65,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;