]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-wernis.php
MySQLi requires at least a link resource for all its functions/methods #3
[mailer.git] / inc / extensions / ext-wernis.php
index 8266af21e7536b358facdbbc5ce12f26ddb043dc..19a01bceeb493c9c6b0620e2b349999adc91487b 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -41,13 +41,13 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Version of this extension
-setThisExtensionVersion('0.0.5');
+setThisExtensionVersion('0.0.6');
 
 // Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5'));
+setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6'));
 
 switch (getExtensionMode()) {
-       case 'register': // Do stuff when installation is running
+       case 'setup': // Do stuff when installation is running
                // SQL commands to run
                addDropTableSql('user_wernis');
                addCreateTableSql('user_wernis', "
@@ -152,6 +152,13 @@ INDEX (`userid`)",
                                // Update notes
                                setExtensionUpdateNotes("IN/OUT ersetzt mit WITHDRAW/PAYOUT.");
                                break;
+
+                       case '0.0.6': // SQL queries for v0.0.6
+                               addExtensionChangeTableColumnSql('config', 'wernis_pass_md5', 'wernis_pass_md5', " VARCHAR(255) NOT NULL DEFAULT ''");
+
+                               // Update notes
+                               setExtensionUpdateNotes("Es wird seit API-Version 0.6-BETA SHA256 (hexadezimal kodiert) verwendet.");
+                               break;
                } // END - switch
                break;