Rewrites/fixes in extension registration
[mailer.git] / inc / extensions / ext-politician-stop.php
index 1cad577a2db6d541837c5e50544684ff25c8108c..303fda1764a8e4bdc816e00dd4b4877118b8a696 100644 (file)
@@ -60,7 +60,7 @@ switch (getExtensionMode()) {
 
        case 'remove': // Do stuff when removing extension
                // Unregister filter
-               unregisterFilter('page_footer', 'DISPLAY_POLITICIAN_STOP_SNIPPET', true, isExtensionDryRun());
+               unregisterFilter(__FUNCTION__, __LINE__, 'page_footer', 'DISPLAY_POLITICIAN_STOP_SNIPPET', true, isExtensionDryRun());
                break;
 
        case 'activate': // Do stuff when admin activates this extension