propelorm/Propel2

View on GitHub
templates/Behavior/Archivable/objectDeleteWithoutArchive.php

Summary

Maintainability
A
0 mins
Test Coverage

/**
 * Removes the object from the database without archiving it.
 *
 * @param ConnectionInterface|null $con Optional connection object
 *
 * @return $this|<?php echo $objectClassName ?> The current object (for fluent API support)
 */
public function deleteWithoutArchive(?ConnectionInterface $con = null)
{
    $this->archiveOnDelete = false;

    return $this->delete($con);
}