projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43cd57a
)
Pman/Roo.php
author
benny
<benny@roojs.com>
Tue, 4 Sep 2018 02:44:13 +0000
(10:44 +0800)
committer
benny
<benny@roojs.com>
Tue, 4 Sep 2018 02:44:13 +0000
(10:44 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
f630413
..
142aa88
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-1120,11
+1120,13
@@
class Pman_Roo extends Pman
*/
function delete($x, $req)
- {
+ {
// do we really delete stuff!?!?!?
if (empty($req['_delete'])) {
$this->jerr("Delete Requested with no value");
}
+
+
// build a list of tables to queriy for dependant data..
$map = $x->links();
@@
-1194,6
+1196,7
@@
class Pman_Roo extends Pman
}
}
+
$has_beforeDelete = method_exists($xx, 'beforeDelete');
// before delte = allows us to trash dependancies if needed..
$match_total = 0;