X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-update.php;h=eed201dc09b0fd41a5855f2c2747d75dc5266456;hp=246e831114d489a9a10474e265780c7b504e24c0;hb=e5527fd38a6585c8466dc28d013f12d21eb7c07a;hpb=8f37a3b2708cfc4b4ef266f4be813a84511daa8f diff --git a/inc/extensions/ext-update.php b/inc/extensions/ext-update.php index 246e831114..eed201dc09 100644 --- a/inc/extensions/ext-update.php +++ b/inc/extensions/ext-update.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * 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 * * it under the terms of the GNU General Public License as published by * @@ -47,10 +47,10 @@ 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 addAdminMenuSql('misc','updates','Updates prüfen','Prüft, ob eine neue Version oder ein Patch auf dem Server exisitiert. Sie müssen dann die Patches/Updates selber herunterladen und einspielen. Dabei werden keine Daten von Ihrer Installation an uns gesendet!',8); break; @@ -88,7 +88,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