Naming convention on language strings applied, ACL handling fixed:
[mailer.git] / inc / extensions / ext-payout.php
index dae6531eb2c47ba3565c489efeacc22d94f75388..1395e1cad73b91d79c99dd078ee54048265f9f17 100644 (file)
@@ -95,8 +95,7 @@ PRIMARY KEY (`id`)
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion())
-               {
+               switch (getCurrentExtensionVersion()) {
                        case '0.1.2': // SQL queries for v0.1.2
                                addAdminMenuSql('payouts', NULL, 'Auszahlungsmanagement','Management der Auszahlungsarten.',8);
                                addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `action`='payouts', `title`='Einstellungen' WHERE `action`='setup' AND `what`='config_payouts' LIMIT 1");
@@ -234,7 +233,7 @@ PRIMARY KEY (`id`)
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
                                break;
-               }
+               } // END - switch
                break;
 
        case 'modify': // When the extension got modified