Just tested this dev version of module and got:-
Warning: Call-time pass-by-reference has been deprecated in E:\mysite\indiapoly\sites\all\modules\question\question.install on line 38
Warning: Call-time pass-by-reference has been deprecated in E:\mysite\indiapoly\sites\all\modules\question\question.install on line 39
Warning: Call-time pass-by-reference has been deprecated in E:\mysite\indiapoly\sites\all\modules\question\question.install on line 45
Found:-Line 45 question.install
db_drop_primary_key(&$ret, 'question_queue');
Should be:-
db_drop_primary_key($ret, 'question_queue');
And found:-Line 38,39 question.install
db_add_primary_key(&$ret, 'question_node', array('nid'));
db_add_primary_key(&$ret, 'question_queue', array('qid'));
Should be:-
db_add_primary_key($ret, 'question_node', array('nid'));
db_add_primary_key($ret, 'question_queue', array('qid'));
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | question_471324_passbyref.patch | 873 bytes | tanoshimi |
Comments
Comment #1
tanoshimi commentedAttached in patch format.
Comment #2
tanoshimi commentedCommitted to 6.x-1.x-dev branch.