From 0a026515bd5c774e311106e84e707c2f7dfe28e9 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 22 Apr 2018 11:33:20 -0400 Subject: [PATCH 1/2] Add documentation for $options parameter in dba::delete --- include/dba.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dba.php b/include/dba.php index b41a7aab7..33709e863 100644 --- a/include/dba.php +++ b/include/dba.php @@ -858,6 +858,9 @@ class dba { * * @param string $table Table name * @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 * @param boolean $in_process Internal use: Only do a commit after the last delete * @param array $callstack Internal use: prevent endless loops * From 273dde508bec0946d8efd8baf4d38c52b3c6e6c8 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 22 Apr 2018 11:34:41 -0400 Subject: [PATCH 2/2] Add default value doc for options.cascade in dba::delete --- include/dba.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dba.php b/include/dba.php index 33709e863..bac61ec2f 100644 --- a/include/dba.php +++ b/include/dba.php @@ -860,7 +860,7 @@ class dba { * @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 + * relations (default: true) * @param boolean $in_process Internal use: Only do a commit after the last delete * @param array $callstack Internal use: prevent endless loops *