IMPORTANT: Making prev. Memcached_DataObject working again with schemaDef
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 19 Aug 2013 15:08:18 +0000 (17:08 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 21 Aug 2013 07:48:42 +0000 (09:48 +0200)
commit3a7261f70a62e28f47b45847c8ab31ff6f441a61
treec5a143ac809f8ffaac36f0a16277b7eaa88c64e4
parentb1465a755955133246cb880ba53fbab609dd6221
IMPORTANT: Making prev. Memcached_DataObject working again with schemaDef

Lots of the Memcached_DataObject classes stopped working when upgraded to
Managed_DataObject because they lacked schemaDef().

I have _hopefully_ made it so that all the references to the table uses
each class' schemaDef, rather than the more manual ColumnDef stuff. Not
all plugins have been tested thoroughly yet.

NOTE: This is applied with getKV calls instead of staticGet, as it was
important for PHP Strict Standards compliance to avoid calling the non-
static functions statically. (unfortunately DB and DB_DataObject still do
this within themselves...)
42 files changed:
classes/User_username.php
lib/authenticationplugin.php
plugins/AnonymousFave/AnonymousFavePlugin.php
plugins/AnonymousFave/Fave_tally.php
plugins/Blacklist/BlacklistPlugin.php
plugins/Blacklist/Homepage_blacklist.php
plugins/Blacklist/Nickname_blacklist.php
plugins/EmailSummary/EmailSummaryPlugin.php
plugins/EmailSummary/Email_summary_status.php
plugins/FollowEveryone/FollowEveryonePlugin.php
plugins/FollowEveryone/User_followeveryone_prefs.php
plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php
plugins/GNUsocialPhotos/classes/gnusocialphoto.php
plugins/GNUsocialPhotos/classes/gnusocialphotoalbum.php
plugins/GNUsocialProfileExtensions/GNUsocialProfileExtensionsPlugin.php
plugins/GNUsocialProfileExtensions/classes/GNUsocialProfileExtensionField.php
plugins/GNUsocialProfileExtensions/classes/GNUsocialProfileExtensionResponse.php
plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php
plugins/GroupPrivateMessage/Group_message.php
plugins/GroupPrivateMessage/Group_message_profile.php
plugins/GroupPrivateMessage/Group_privacy_settings.php
plugins/Irc/IrcPlugin.php
plugins/Irc/Irc_waiting_message.php
plugins/Msn/MsnPlugin.php
plugins/Msn/msn_waiting_message.php
plugins/NoticeTitle/NoticeTitlePlugin.php
plugins/NoticeTitle/Notice_title.php
plugins/OpenID/OpenIDPlugin.php
plugins/OpenID/User_openid.php
plugins/OpenID/User_openid_trustroot.php
plugins/RegisterThrottle/RegisterThrottlePlugin.php
plugins/RegisterThrottle/Registration_ip.php
plugins/Sample/SamplePlugin.php
plugins/Sample/User_greeting_count.php
plugins/Sitemap/SitemapPlugin.php
plugins/Sitemap/Sitemap_notice_count.php
plugins/Sitemap/Sitemap_user_count.php
plugins/TwitterBridge/Notice_to_status.php
plugins/TwitterBridge/TwitterBridgePlugin.php
plugins/TwitterBridge/Twitter_synch_status.php
plugins/UserFlag/UserFlagPlugin.php
plugins/UserFlag/User_flag_profile.php