public function deleteInstance(core_kernel_classes_Resource $assembly)
    {
        if ($this->deleteDeliveryRuntime($assembly)===false) {
            \common_Logger::i('Fail to delete runtimes assembly, process aborted');
        }

        if ($this->deleteDeliveryDirectory($assembly)===false) {
            \common_Logger::i('Fail to delete directories assembly, process aborted');
        }

        return $assembly->delete();
    }
public function deleteInstance(core_kernel_classes_Resource $assembly)
    {
        if ($this->deleteDeliveryRuntime($assembly)===false) {
            \common_Logger::i('Fail to delete runtimes assembly, process aborted');
        }

        if ($this->deleteDeliveryDirectory($assembly)===false) {
            \common_Logger::i('Fail to delete directories assembly, process aborted');
        }

        return $assembly->delete();
    }
public function deleteInstance ( core_kernel_classes_Resource $ assembly ) { if ( $ this -> deleteDeliveryRuntime ( $ assembly ) === false ) { \ common_Logger :: i ( 'Fail to delete runtimes assembly, process aborted' ) ; } if ( $ this -> deleteDeliveryDirectory ( $ assembly ) === false ) { \ common_Logger :: i ( 'Fail to delete directories assembly, process aborted' ) ; } return $ assembly -> delete ( ) ; }
Delete delivery by deleting runtime, directories & ontology record
@param core_kernel_classes_Resource $assembly
@return bool
Delete delivery by deleting runtime directories & ontology record