X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=RooPostTrait.php;h=456aa7aa74fde6a79c2611ea8e8561f75ab5d5a8;hp=a2e1d27b52ac958a91c1818797f261ea7b2c41b5;hb=refs%2Fheads%2Fwip_alan_T6343_generic_progress_bar_delete;hpb=adaf207cf7aebf8f85f16951471785a9d1f7b130 diff --git a/RooPostTrait.php b/RooPostTrait.php index a2e1d27b..456aa7aa 100644 --- a/RooPostTrait.php +++ b/RooPostTrait.php @@ -170,7 +170,8 @@ trait Pman_Core_RooPostTrait { $affects = array(); - $all_links = $GLOBALS['_DB_DATAOBJECT']['LINKS'][$x->_database]; + $all_links = $x->databaseLinks(); + foreach($all_links as $tbl => $links) { foreach($links as $col => $totbl_col) { $to = explode(':', $totbl_col);