]> git.mxchange.org Git - friendica.git/commitdiff
Add documentation for $options parameter in dba::delete
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 22 Apr 2018 15:33:20 +0000 (11:33 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 22 Apr 2018 15:33:20 +0000 (11:33 -0400)
include/dba.php

index b41a7aab76bfd00a265196ff88916b4bb095b8dd..33709e863f1349d2a049daad51ecf2f28b1dd879 100644 (file)
@@ -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
         *