Merge pull request #4903 from MrPetovan/bug/infinite-loop-in-dba-delete

Add documentation for new $options parameter in dba::delete
This commit is contained in:
rabuzarus 2018-04-22 17:35:52 +02:00 committed by GitHub
commit 7f93d5c74b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -858,6 +858,9 @@ class dba {
* *
* @param string $table Table name * @param string $table Table name
* @param array $conditions Field condition(s) * @param array $conditions Field condition(s)
* @param array $options
* - cascade: If true we delete records in other tables that depend on the one we're deleting through
* relations (default: true)
* @param boolean $in_process Internal use: Only do a commit after the last delete * @param boolean $in_process Internal use: Only do a commit after the last delete
* @param array $callstack Internal use: prevent endless loops * @param array $callstack Internal use: prevent endless loops
* *