X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=inc%2Fextensions%2Fext-active.php;h=c7e2014d14442399eec3f5766c2c82bf046a766f;hb=01b4a1c465a7decc77384039fbcaf52fd7261e2f;hp=96638bc102f3a7fdde14e0dc62a81370e0b9472c;hpb=8ff448fa64ce1b5f122339e224e596b101a2d4ab;p=mailer.git diff --git a/inc/extensions/ext-active.php b/inc/extensions/ext-active.php index 96638bc102..c7e2014d14 100644 --- a/inc/extensions/ext-active.php +++ b/inc/extensions/ext-active.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -60,7 +58,7 @@ switch (getExtensionMode()) { addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `what`='config_active'"); // Unregister filter - unregisterFilter('online_extra_links', 'ADD_LINK_ACTIVE_LIST', true, isExtensionDryRun()); + unregisterFilter(__FUNCTION__, __LINE__, 'online_extra_links', 'ADD_LINK_ACTIVE_LIST', true, isExtensionDryRun()); break; case 'activate': // Do stuff when admin activates this extension @@ -120,7 +118,7 @@ switch (getExtensionMode()) { case '0.0.9': // SQL queries for v0.0.9 // Make update depending on 'online' - addExtensionUpdateDependency('online'); + addExtensionDependency('online'); // Register filter registerFilter('online_extra_links', 'ADD_LINK_ACTIVE_LIST', false, true, isExtensionDryRun()); @@ -128,7 +126,7 @@ switch (getExtensionMode()) { // Update notes (these will be set as task text!) setExtensionUpdateNotes("Filter für den "Wer ist Online" Block hinzugefügt und ist von online abhängig."); break; - } + } // END - switch break; case 'modify': // When the extension got modified @@ -143,7 +141,7 @@ switch (getExtensionMode()) { default: // Unknown extension mode logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName())); break; -} +} // END - switch // [EOF] ?>