+ setExtensionUpdateNotes("Loggen der Referral-URLs hinzugefügt.");
+ break;
+
+ case '0.3.0': // SQL queries for v0.3.0
+ addConfigDropSql('beg_mode');
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`,`column_name`,`locked_mode`,`payment_method`) VALUES ('beg','points','LOCKED','DIRECT')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`,`column_name`,`locked_mode`,`payment_method`) VALUES ('monthly_beg','points','LOCKED','DIRECT')");
+
+ // This depends on ext-sql_patches
+ addExtensionDependency('sql_patches');
+
+ // Update notes
+ setExtensionUpdateNotes("Monatliche Bettelrallye und die erbettelten {?POINTS?} werden nun über die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
+ break;
+
+ case '0.3.1': // SQL queries for v0.3.1
+ // Add/move menu
+ addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `what`='beg2'");
+ addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_guest_menu` SET `action`='members',`sort`=3 WHERE `what`='beg' LIMIT 1");
+ addMemberMenuSql('rals', 'beg2', 'Bettel-Rallye', 3);
+
+ // Update notes
+ setExtensionUpdateNotes("Bettel-Rallye re-hinzugefügt.");
+ break;
+
+ case '0.3.2': // SQL queries for v0.3.2
+ // Add module entry
+ addModuleSql('beg', 'Y', 'Y', 'N', 'N');
+
+ // Set module title
+ addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `title`='Betteln bei {OPEN_CONFIG}MAIN_TITLE{CLOSE_CONFIG}' WHERE `module`='beg' AND `title`='' LIMIT 1");
+
+ // Update notes
+ setExtensionUpdateNotes("Modul registriert und bei leerem Titel mit einem Standarttitel versehen.");