gnu-social/plugins/Mapstraction
Mikael Nordfeldth 2a4dc77a63 The overloaded DB_DataObject function staticGet is now called getKV
I used this hacky sed-command (run it from your GNU Social root, or change the first grep's path to where it actually lies) to do a rough fix on all ::staticGet calls and rename them to ::getKV

   sed -i -s -e '/DataObject::staticGet/I!s/::staticGet/::getKV/Ig' $(grep -R ::staticGet `pwd`/* | grep -v -e '^extlib' | grep -v DataObject:: |grep -v "function staticGet"|cut -d: -f1 |sort |uniq)

If you're applying this, remember to change the Managed_DataObject and Memcached_DataObject function definitions of staticGet to getKV!

This might of course take some getting used to, or modification fo StatusNet plugins, but the result is that all the static calls (to staticGet) are now properly made without breaking PHP Strict Standards. Standards are there to be followed (and they caused some very bad confusion when used with get_called_class)

Reasonably any plugin or code that tests for the definition of 'GNUSOCIAL' or similar will take this change into consideration.
2013-08-18 13:13:56 +02:00
..
js first pass at Mapstraction plugin 2009-11-17 23:23:13 -05:00
locale Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
OpenLayers Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the full version. 2010-12-08 14:28:55 -08:00
allmap.php use InboxNoticeStream in AllmapAction in Mapstraction 2011-04-07 15:41:34 -04:00
Makefile Create a bundled & minified JS file for Mapstraction's common case (using OpenLayers); this'll avoid waiting on additional script loads for mxn.core.js and mxn.openlayers.core.js, and removes the need to load usermap.js separately as well. 2010-12-08 14:52:26 -08:00
map.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
MapstractionPlugin.php Use profile->getBestName() instead of more complex i18n unfriendly construction. 2011-04-25 22:44:21 +02:00
usermap-mxn-openlayers.min.js Create a bundled & minified JS file for Mapstraction's common case (using OpenLayers); this'll avoid waiting on additional script loads for mxn.core.js and mxn.openlayers.core.js, and removes the need to load usermap.js separately as well. 2010-12-08 14:52:26 -08:00
usermap.js Mapstraction plugin fix: set icon dimensions (24x24 px); Google Maps provider otherwise defaults to stretching them to a funny shape instead of showing square avatars. 2010-06-01 18:41:17 +00:00
usermap.php Use profile->getBestName() instead of more complex i18n unfriendly construction. 2011-04-25 22:44:21 +02:00