https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba3f721
)
Add documentation for $options parameter in dba::delete
author
Hypolite Petovan
<mrpetovan@gmail.com>
Sun, 22 Apr 2018 15:33:20 +0000
(11:33 -0400)
committer
Hypolite Petovan
<mrpetovan@gmail.com>
Sun, 22 Apr 2018 15:33:20 +0000
(11:33 -0400)
include/dba.php
patch
|
blob
|
history
diff --git
a/include/dba.php
b/include/dba.php
index
b41a7aa
..
33709e8
100644
(file)
--- 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
*