Heavily rewritten API:
[mailer.git] / inc / extensions / ext-wernis.php
index bce881bd1852617065493246369a143cdcc0f5c6..d8d32222ff5d987626fc5a0ca327158e425df6b9 100644 (file)
@@ -133,13 +133,15 @@ case "update": // Update an extension
        }
        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
+       // Init array
+       global $WERNIS;
+       $WERNIS = array();
        break;
 }
 
-// Init array
-global $WERNIS;
-$WERNIS = array();
-
 //
 ?>