X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-wernis.php;h=0e566ccba1fe85406675df16210a43640223b6fb;hb=f61f2c11ec3d2a68a6663d1dda4f5d1f2ca3383b;hp=9bf6f0cd616d33bf5795601d7474e641cd6838fa;hpb=8268379f7f0f38f5cd605714ecd5cbfacff0e282;p=mailer.git diff --git a/inc/extensions/ext-wernis.php b/inc/extensions/ext-wernis.php index 9bf6f0cd61..0e566ccba1 100644 --- a/inc/extensions/ext-wernis.php +++ b/inc/extensions/ext-wernis.php @@ -1,7 +1,7 @@ {OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data verwaltet."); + break; + + case '0.0.5': // SQL queries for v0.0.5 + addExtensionChangeTableColumnSql('user_wernis', 'wernis_type', 'wernis_type', "ENUM('WITHDRAW','PAYOUT','FAILED') NOT NULL DEFAULT 'FAILED'"); + + // Update notes + setExtensionUpdateNotes("IN/OUT ersetzt mit WITHDRAW/PAYOUT."); + break; + } // END - switch 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. + case 'test': // For testing purposes break; case 'init': // Do stuff when extension is initialized @@ -150,9 +170,9 @@ PRIMARY KEY (id) break; default: // Unknown extension mode - DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode())); + logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName())); break; -} +} // END - switch // [EOF] ?>