Patch by Kjartan:
+ Simplified cache logic in drupal_get_path_map(). + Added check to see if errors should be reported to error_handler(). + Use proper db_query() syntax in throttle(), and use $_ENV instead of getenv(). + Changed fix_gpc_magic() to use array_walk (C functions will always be faster), and renamed _fix_gpc_magic_array() to _fix_gpc_magic(). + Renamed $node in array2object() to $array. + Renamed $node in object2array() to $object. + Minor other coding method tweaks.
Showing with 35 additions and 64 deletions