Patch by Kjartan:
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.

brainhell/drupalglass,lincgr/Prueba,brainhell/drupalglass,joshkoenig/golden-god-demo,edutrul/social-web,OccupyWallStreet/streetnet,lincgr/Prueba,edutrul/social-web,joshkoenig/golden-god-demo,edutrul/social-web,joshkoenig/golden-god-demo,joshkoenig/golden-god-demo,brainhell/drupalglass,OccupyWallStreet/streetnet,rmcveigh/frontend-dev,edutrul/social-web,OccupyWallStreet/streetnet,rmcveigh/frontend-dev,joshkoenig/golden-god-demo,joshkoenig/golden-god-demo,lincgr/Prueba,rmcveigh/frontend-dev,edutrul/social-web,joshkoenig/golden-god-demo,OccupyWallStreet/streetnet,lincgr/Prueba,brainhell/drupalglass,brainhell/drupalglass