Fixes for SQL error + missing config
[mailer.git] / inc / extensions / ext-profile.php
index 614a19a9936edb317fe635fab8fbd4569f450981..325ebcc14accecfd6b8679d1d7cf92d1a04393d5 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -118,7 +118,9 @@ switch (getExtensionMode()) {
                                // Add config SQLs
                                addConfigAddSql('profile_update', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 15768000');
                                addConfigChangeSql('send_prof_update', 'send_profile_update', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('send_profile_update', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
                                addConfigAddSql('resend_profile_update', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 172800');
+                               addConfigAddSql('profile_lock', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 86400');
 
                                // Admin menu
                                addAdminMenuSql('setup','config_profile','Mitgliedsprofile','Einstellungen für Mitgliedprofile.',14);