Eliminate call to db_num_rows() function
mustafau - December 2, 2007 - 13:41
| Project: | FeedAPI |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
From: http://drupal.org/node/114774#db-num-rows
The db_num_rows() method was removed from the database abstraction layer in 6.x core, as it was a database dependent method.
These two patches replace various calls to db_num_rows() with db_result() and db_fetch_object().
| Attachment | Size |
|---|---|
| feedapi-db_result.patch | 599 bytes |
| feedapi_node-db_result.patch | 1.73 KB |

#1
Thanks for the ready-to-use patches!
#2
Automatically closed -- issue fixed for two weeks with no activity.