]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-cprping.php
Further fixes for all resets
[mailer.git] / inc / extensions / ext-cprping.php
index 6d42efc5ed56cca132cc8a72a099d07354d81cb7..e3f03c7c0bc97ee049c17f5caeeb753b2c790218 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 *
@@ -47,14 +47,14 @@ setThisExtensionVersion('0.0.0');
 setExtensionVersionHistory(array('0.0.0'));
 
 // This extension is in development (non-productive)
-enableExtensionProductive(false);
+enableExtensionProductive(FALSE);
 
 switch (getExtensionMode()) {
-       case 'register': // Do stuff when installation is running
+       case 'setup': // Do stuff when installation is running
                // SQL commands to run
 
                // Register module
-               //addModuleSql('foo', '{OPEN_TEMPLATE}MODULE_CPRPING_TITLE{CLOSE_TEMPLATE}','Y','Y','N','N');
+               //addModuleSql('foo', '{OPEN_LANGUAGE}MODULE_CPRPING_TITLE{CLOSE_LANGUAGE}','Y','Y','N','N');
                break;
 
        case 'remove': // Do stuff when removing extension
@@ -92,7 +92,7 @@ switch (getExtensionMode()) {
                break;
 
        default: // Unknown extension mode
-               logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
+               reportBug(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
                break;
 } // END - switch