]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-profile.php
Some major rewrites + ext-network continued:
[mailer.git] / inc / extensions / ext-profile.php
index 54de0a170b4176eb0c4cfefd2cfd102959a8a9cc..9a83b7ad2f5d6521de0dec5c726ed02d97f57924 100644 (file)
@@ -46,9 +46,8 @@ setThisExtensionVersion('0.0.9');
 // 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', '0.0.6', '0.0.7', '0.0.8', '0.0.9'));
 
 // 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', '0.0.6', '0.0.7', '0.0.8', '0.0.9'));
 
-switch (getExtensionMode())
-{
-       case 'register': // Do stuff when installation is running
+switch (getExtensionMode()) {
+       case 'setup': // Do stuff when installation is running
                // SQL commands to run
                addExtensionSql('');
                break;
                // SQL commands to run
                addExtensionSql('');
                break;
@@ -69,8 +68,7 @@ switch (getExtensionMode())
                break;
 
        case 'update': // Update an extension
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion())
-               {
+               switch (getCurrentExtensionVersion()) {
                        case '0.0.1': // SQL queries for v0.0.1
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Benachrichtungsmails werden nur beim tägichen Reset ausgesendet");
                        case '0.0.1': // SQL queries for v0.0.1
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Benachrichtungsmails werden nur beim tägichen Reset ausgesendet");