kernel/classes/datatypes/ezimage/ezimagealiashandler.php
function removeAliases()
    {
        $aliasList = $this->aliasList();
        foreach ( $aliasList as $alias )
        {
            if ( $alias['is_valid'] )
                $this->removeAliasFile( $alias['url'] );
        }

        if ( !empty( $aliasList['original']['url'] ) )
        {
            ezpEvent::getInstance()->notify( 'image/removeAliases', array( $aliasList['original']['url'] ) );
        }

        $this->generateXMLData();
    }
function removeAliases()
    {
        $aliasList = $this->aliasList();
        foreach ( $aliasList as $alias )
        {
            if ( $alias['is_valid'] )
                $this->removeAliasFile( $alias['url'] );
        }

        if ( !empty( $aliasList['original']['url'] ) )
        {
            ezpEvent::getInstance()->notify( 'image/removeAliases', array( $aliasList['original']['url'] ) );
        }

        $this->generateXMLData();
    }
function removeAliases ( ) { $ aliasList = $ this -> aliasList ( ) ; foreach ( $ aliasList as $ alias ) { if ( $ alias [ 'is_valid' ] ) $ this -> removeAliasFile ( $ alias [ 'url' ] ) ; } if ( ! empty ( $ aliasList [ 'original' ] [ 'url' ] ) ) { ezpEvent :: getInstance ( ) -> notify ( 'image/removeAliases' , array ( $ aliasList [ 'original' ] [ 'url' ] ) ) ; } $ this -> generateXMLData ( ) ; }
Removes aliases from the attribute.

Files, as well as their references in ezimagefile, are only removed if this attribute/version was
the last one referencing it. The attribute's XML is then reset to reference no image.
Removes aliases from the attribute .