src/classes/CCEvent.php
public static function clear( $event, $what = null ) {
		if ( is_null( $what ) ) {
			unset( static::$events[$event] ); return;
		}
		
		if ( array_key_exists( $what, static::$events[$event][$what] ) ) {
			unset( static::$events[$event][$what] );
		}
	}
public static function clear( $event, $what = null ) {
		if ( is_null( $what ) ) {
			unset( static::$events[$event] ); return;
		}
		
		if ( array_key_exists( $what, static::$events[$event][$what] ) ) {
			unset( static::$events[$event][$what] );
		}
	}
public static function clear ( $ event , $ what = null ) { if ( is_null ( $ what ) ) { unset ( static :: $ events [ $ event ] ) ; return ; } if ( array_key_exists ( $ what , static :: $ events [ $ event ] [ $ what ] ) ) { unset ( static :: $ events [ $ event ] [ $ what ] ) ; } }
clear an event

@param string	$event
@param mixed		$callback
@return void
clear an event