]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-politician-stop.php
TODOs.txt updated, notice in README.txt updated which GNU GPL version (2) we are...
[mailer.git] / inc / extensions / ext-politician-stop.php
index 39239892f7faecc223957af43a74ba6a17b119fc..275175993db62582be2ebe570f48f316b6d26803 100644 (file)
@@ -54,12 +54,12 @@ switch (getExtensionMode()) {
                addExtensionAdminMenuSql('config','config_politician_stop','Politiker-Stopp-Aktion','Einstellungen zur Satire-Aktion "Politiker-Stopp - Jetzt wird zurück zensiert."', 7);
 
                // Register filter
-               registerFilter('page_footer', 'DISPLAY_UBERWACH_SNIPPET', false, true, getExtensionDryRun());
+               registerFilter('page_footer', 'DISPLAY_POLITICAN_STOP_SNIPPET', false, true, getExtensionDryRun());
                break;
 
        case 'remove': // Do stuff when removing extension
                // Unregister filter
-               unregisterFilter('page_footer', 'DISPLAY_UBERWACH_SNIPPET', false, true, getExtensionDryRun());
+               unregisterFilter('page_footer', 'DISPLAY_POLITICAN_STOP_SNIPPET', false, true, getExtensionDryRun());
                break;
 
        case 'activate': // Do stuff when admin activates this extension
@@ -91,7 +91,7 @@ switch (getExtensionMode()) {
                break;
 
        default: // Unknown extension mode
-               DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
+               logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
                break;
 } // END - switch