Subversion Repositories akismet

[/] [trunk/] [extension/] [akismet/] [eventtypes/] [event/] [ezakismet/] [ezakismettype.php] - Diff between revs 11 and 12

Show entire file | Ignore whitespace | Details | Blame | View Log

Rev 11 Rev 12
Line 57... Line 57...
            $user = eZUser::instance( $process->attribute( 'user_id' ) );
            $user = eZUser::instance( $process->attribute( 'user_id' ) );
        }
        }
 
 
        $userGroups = array_merge( $user->attribute( 'groups' ), array( $user->attribute( 'contentobject_id' ) ) );
        $userGroups = array_merge( $user->attribute( 'groups' ), array( $user->attribute( 'contentobject_id' ) ) );
        $workflowSections = explode( ',', $event->attribute( 'data_text1' ) );
        $workflowSections = explode( ',', $event->attribute( 'data_text1' ) );
        $workflowGroups = explode( ',', $event->attribute( 'data_text2' ) );
        $workflowGroups = $event->attribute( 'data_text2' ) == '' ? array() : explode( ',', $event->attribute( 'data_text2' ) );
        $editors = explode( ',', $event->attribute( 'data_text3' ) ); //$event->attribute( 'data_int1' );
        $editors =        $event->attribute( 'data_text3' ) == '' ? array() : explode( ',', $event->attribute( 'data_text3' ) );
        $approveGroups = explode( ',', $event->attribute( 'data_text4' ) );
        $approveGroups =  $event->attribute( 'data_text4' ) == '' ? array() : explode( ',', $event->attribute( 'data_text4' ) );
        $languageMask = $event->attribute( 'data_int2' );
        $languageMask = $event->attribute( 'data_int2' );
 
 
        eZDebugSetting::writeDebug( 'kernel-workflow-approve', $user, 'eZAkismetType::execute::user' );
        eZDebugSetting::writeDebug( 'kernel-workflow-approve', $user, 'eZAkismetType::execute::user' );
        eZDebugSetting::writeDebug( 'kernel-workflow-approve', $userGroups, 'eZAkismetType::execute::userGroups' );
        eZDebugSetting::writeDebug( 'kernel-workflow-approve', $userGroups, 'eZAkismetType::execute::userGroups' );
        eZDebugSetting::writeDebug( 'kernel-workflow-approve', $editors, 'eZAkismetType::execute::editor' );
        eZDebugSetting::writeDebug( 'kernel-workflow-approve', $editors, 'eZAkismetType::execute::editor' );