View Single Post
  #5  
Old 9th September 2012, 17:05
phry phry is offline
Junior Member
 
Join Date: Sep 2012
Posts: 5
Thanks: 0
Thanked 4 Times in 2 Posts
Default

Umh, sorry, but see
~ispconfig/interface/lib/plugins/mail_user_filter_plugin.inc.php (that IS the folder you're pointing to?)

PHP Code:
<?php
[...]
class 
mail_user_filter_plugin {

        var 
$plugin_name 'mail_user_filter_plugin';
        var 
$class_name 'mail_user_filter_plugin';

        
/*
                This function is called when the plugin is loaded
        */

        
function onLoad() {
                global 
$app;

                
/*
                Register for the events
                */

                
[...]
                
$app->plugin->registerEvent('mail:mail_user_filter:on_after_update','mail_user_filter_plugin','mail_user_filter_edit');
                [...]

        }

        function 
mail_user_filter_edit($event_name,$page_form) {
                global 
$app$conf;
            [...]
 
        }

    [...]
}
I might be suffering from tunnel vision but that is the same as I'm doing with the same syntax within (now) the same path?
Reply With Quote