diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/import.php | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/mod/import.php b/mod/import.php index fb04a021a..0c5ec2a4c 100644 --- a/mod/import.php +++ b/mod/import.php @@ -557,20 +557,21 @@ function import_post(&$a) { } - $objs = $data['obj']; - if($objs) { - foreach($objs as $obj) { - unset($obj['obj_id']); - $obj['channel'] = $channel['channel_id']; - - dbesc_array($obj); - $r = dbq("INSERT INTO obj (`" - . implode("`, `", array_keys($obj)) - . "`) VALUES ('" - . implode("', '", array_values($obj)) - . "')" ); - } - } +// This needs more work - we also need the term where otype = 6 to link with this, and the terms need to be relocated. +// $objs = $data['obj']; +// if($objs) { +// foreach($objs as $obj) { +// unset($obj['obj_id']); +// $obj['channel'] = $channel['channel_id']; + +// dbesc_array($obj); +// $r = dbq("INSERT INTO obj (`" +// . implode("`, `", array_keys($obj)) +// . "`) VALUES ('" +// . implode("', '", array_values($obj)) +// . "')" ); +// } +// } $saved_notification_flags = notifications_off($channel['channel_id']); |