gnu-social/plugins
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
..
AccountManager Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Activity The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
ActivitySpam The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Adsense Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Aim PHP 5.4 compatibility: remove call-time pass by reference 2013-06-19 11:16:05 +02:00
AnonymousFave The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
APC Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
ApiLogger Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
AuthCrypt The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Autocomplete Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
AutoSandbox The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Awesomeness Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
BitlyUrl Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Blacklist The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
BlankAd Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Blog The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
BlogspamNet Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Bookmark The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
CacheLog Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
CasAuthentication Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
ClientSideShorten Makes ClientSideShorten loading shorten.js from config['plugins']['server'] if setted. Fix #3528 2013-06-15 12:34:25 +02:00
Comet Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
DirectionDetector Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Directory visual presentation of group's homepage href was its local stream url 2013-08-12 13:04:44 +02:00
DiskCache Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Disqus The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
DomainStatusNetwork The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
DomainWhitelist Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Echo Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
EmailAuthentication The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
EmailRegistration The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
EmailReminder The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
EmailSummary The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Enjit The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Event The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
ExtendedProfile The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
FacebookBridge The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
FirePHP Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
FollowEveryone The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
ForceGroup Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Geonames Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
GeoURL Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
GNUsocialDukiDukiSnail Got rid of old duplicate files. 2010-08-02 12:09:44 -04:00
GNUsocialLayout Got rid of old duplicate files. 2010-08-02 12:09:44 -04:00
GNUsocialOffTheRecordMessaging Got rid of old duplicate files. 2010-08-02 12:09:44 -04:00
GNUsocialPhoto The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
GNUsocialPhotos The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
GNUsocialProfileExtensions The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
GNUsocialRelationshipsManager Got rid of old duplicate files. 2010-08-02 12:09:44 -04:00
GNUsocialVideo The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
GoogleAnalytics Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Gravatar Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
GroupFavorited Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
GroupPrivateMessage The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Imap Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
InfiniteScroll Fix for #3463. Make InfiniteScroll plugin use config['plugins']['server'] if defined to build ajax-loader.gif URL 2013-06-15 13:13:15 +02:00
InProcessCache Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Irc Updating all Memcached_DataObject extended classes to Managed_DataObject 2013-08-18 12:32:32 +02:00
LdapAuthentication Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
LdapAuthorization Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
LdapCommon Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
LilUrl Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Linkback Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
LinkPreview Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
LogFilter Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Mapstraction The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Memcache Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Memcached Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Meteor Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Minify Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Mobile Use profile->getBestName() instead of more complex i18n unfriendly construction. 2011-04-25 22:44:21 +02:00
MobileProfile Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
ModHelper Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
ModLog The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
ModPlus The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Mollom Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Msn Updating all Memcached_DataObject extended classes to Managed_DataObject 2013-08-18 12:32:32 +02:00
NewMenu Remove locale files. Plugin no longer has a UI. 2011-04-27 19:31:02 +02:00
NoticeTitle The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
OfflineBackup The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
OMB The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
OpenExternalLinkTarget Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
OpenID The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
OpenX Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Orbited Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
OStatus The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
PiwikAnalytics Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Poll The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
PostDebug Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
PoweredByStatusNet Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
PtitUrl Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
QnA The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Realtime The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Recaptcha Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
RegisterThrottle The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
RequireValidatedEmail The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
ReverseUsernameAuthentication Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
RSSCloud The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Sample The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
SearchSub Plugins with classes that extend Managed_DataObject get better code reuse 2013-08-12 20:00:01 +02:00
ShareNotice Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
SimpleUrl Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Sitemap The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
SiteNoticeInSidebar Plugin to put the sitenotice in the sidebar 2011-04-01 13:34:55 -04:00
SlicedFavorites The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
SphinxSearch Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Spotify Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
SQLProfile Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
SQLStats Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
StrictTransportSecurity Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
SubMirror The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
SubscriptionThrottle Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
TabFocus Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
TagSub Plugins with classes that extend Managed_DataObject get better code reuse 2013-08-12 20:00:01 +02:00
TightUrl Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
TinyMCE Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
TwitterBridge The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
UserFlag The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
UserLimit Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
WikiHashtags Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
WikiHowProfile Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
XCache Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
Xmpp PHP 5.4 Fix GetValidDaemons function definition for Xmpp & TwitterBridge plugins 2013-06-19 13:25:28 +02:00
YammerImport The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
GNUsocialTemplatePlugin.php GNUsocialTemplatePlugin.php doesn't need to be executable. 2010-08-02 15:22:17 -04:00
README-plugins