]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-demo.php
Old config.php is now automatically updated to new config-local.php format, several...
[mailer.git] / inc / extensions / ext-demo.php
index b86937030bd4be28c7609092da760368955d8f6b..8b4c28d808a4ef1efb3da61d846b8246ea0c8077 100644 (file)
@@ -50,44 +50,44 @@ EXT_SET_VER_HISTORY(array('0.0', '0.0.1'));
 
 switch ($EXT_LOAD_MODE)
 {
-case 'register': // Do stuff when installation is running (modules.php?module=admin&action=login is called)
-       // SQL commands to run
-       ADD_EXT_SQL("");
-       break;
+       case 'register': // Do stuff when installation is running (modules.php?module=admin&action=login is called)
+               // SQL commands to run
+               ADD_EXT_SQL('');
+               break;
 
-case 'remove': // Do stuff when removing extension
-       // SQL commands to run
-       ADD_EXT_SQL("");
-       break;
+       case 'remove': // Do stuff when removing extension
+               // SQL commands to run
+               ADD_EXT_SQL('');
+               break;
 
-case 'activate': // Do stuff when admin activates this extension
-       // SQL commands to run
-       ADD_EXT_SQL("");
-       break;
+       case 'activate': // Do stuff when admin activates this extension
+               // SQL commands to run
+               ADD_EXT_SQL('');
+               break;
 
-case 'deactivate': // Do stuff when admin deactivates this extension
-       // SQL commands to run
-       ADD_EXT_SQL("");
-       break;
+       case 'deactivate': // Do stuff when admin deactivates this extension
+               // SQL commands to run
+               ADD_EXT_SQL('');
+               break;
 
-case 'update': // Update an extension
-       switch ($EXT_VER)
-       {
-       case '0.0.1': // SQL queries for v0.0.1
-               // Update notes (these will be set as task text!)
-               EXT_SET_UPDATE_NOTES("W&ouml;rter <strong>Mailtausch</strong>, <strong>Mailtausches</strong> und <strong>Mailtauscher</strong> sind austauschbar.");
+       case 'update': // Update an extension
+               switch ($EXT_VER)
+               {
+                       case '0.0.1': // SQL queries for v0.0.1
+                               // Update notes (these will be set as task text!)
+                               EXT_SET_UPDATE_NOTES("W&ouml;rter <strong>Mailtausch</strong>, <strong>Mailtausches</strong> und <strong>Mailtauscher</strong> sind austauschbar.");
+                               break;
+               }
                break;
-       }
-       break;
 
-case 'modify': // When the extension got modified
-       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;
+                       case 'test': // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
+                               break;
 
-default: // Do stuff when extension is loaded
-       break;
+                       default: // Do stuff when extension is loaded
+                               break;
 }
 
 //