Closed (fixed)
Project:
Organic Groups
Version:
5.x-7.1
Component:
og.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 May 2008 at 14:53 UTC
Updated:
9 Jun 2008 at 14:34 UTC
My use case in this patch is used for propagation of members along the groups’ hierarchy. I need to escape the hook along the propagation process.
| Comment | File | Size | Author |
|---|---|---|---|
| og_extend_args_1.patch | 2.32 KB | amitaibu |
Comments
Comment #1
moshe weitzman commentedWhy can't modules use $args with the current code? Thats not passed along for the delete operation but the others look OK.
Comment #2
amitaibuWith current code everything that's in the $args might be used in the
db_query('INSERT INTO {og_uid} ('. implode(', ', $fields). ') VALUES (%d, %d, %d, %d, '. implode(', ', $s). ')', $values);Thus the code change also in 'insert'.
Comment #3
moshe weitzman commentedcommitted to 5 ... would not apply cleanly to 6. the right fix for 6 is to not write own SQL and instead switch to using drupal_write_record()
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.