afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-07-11 05:37 am

[dw-free] clean up proplist

[commit: http://hg.dwscoalition.org/dw-free/rev/8f4b5abc0a34]

http://bugs.dwscoalition.org/show_bug.cgi?id=1378

Cleanup unused/obsolete props.

Patch by [staff profile] denise.

Files modified:
  • bin/upgrading/proplists.dat
  • htdocs/support/see_request.bml
--------------------------------------------------------------------------------
diff -r 21c7e961f007 -r 8f4b5abc0a34 bin/upgrading/proplists.dat
--- a/bin/upgrading/proplists.dat	Sat Jul 11 05:26:19 2009 +0000
+++ b/bin/upgrading/proplists.dat	Sat Jul 11 05:37:19 2009 +0000
@@ -1,11 +1,3 @@ userproplist.ad_categories:
-userproplist.ad_categories:
-  cldversion: 4
-  datatype: char
-  des: User selectable Ad categories
-  indexed: 0
-  multihomed: 0
-  prettyname: Ad Content Categories
-
 userproplist.adult_content:
   cldversion: 4
   datatype: char
@@ -366,14 +358,6 @@ userproplist.hide_adult_content:
   multihomed: 0
   prettyname: Hide adult content on journals
 
-userproplist.howhear:
-  cldversion: 4
-  datatype: char
-  des: How the user heard about LiveJournal
-  indexed: 0
-  multihomed: 0
-  prettyname: How heard about LiveJouranl
-
 userproplist.icbm:
   cldversion: 4
   datatype: char
@@ -702,14 +686,6 @@ userproplist.opt_maxpicwidth:
   multihomed: 0
   prettyname: Max Picture Width
 
-userproplist.opt_maxwordlength:
-  cldversion: 0
-  datatype: 
-  des: Maxium word length before forced word breaks.  0: for no max
-  indexed: 1
-  multihomed: 0
-  prettyname: Max Word Length
-
 userproplist.opt_nctalklinks:
   cldversion: 4
   datatype: bool
@@ -942,46 +918,6 @@ userproplist.rssparseerror:
   multihomed: 0
   prettyname: Syndication Parse Error
 
-userproplist.s1_calendar_style:
-  cldversion: 4
-  datatype: num
-  des: The style ID# of the S1 style for the calendar view.
-  indexed: 0
-  multihomed: 0
-  prettyname: Calendar View StyleID
-
-userproplist.s1_confirmed:
-  cldversion: 4
-  datatype: num
-  des: Unix time at which the user confirmed that they want to use S1 instead of S2.
-  indexed: 0
-  multihomed: 0
-  prettyname: S1 Confirmed
-
-userproplist.s1_day_style:
-  cldversion: 4
-  datatype: num
-  des: The style ID# of the S1 style for the day view view.
-  indexed: 0
-  multihomed: 0
-  prettyname: Day View StyleID
-
-userproplist.s1_friends_style:
-  cldversion: 4
-  datatype: num
-  des: The style ID# of the S1 style for the friends view page.
-  indexed: 0
-  multihomed: 0
-  prettyname: Friends View StyleID
-
-userproplist.s1_lastn_style:
-  cldversion: 4
-  datatype: num
-  des: The style ID# of the S1 style for the recent entries view.
-  indexed: 0
-  multihomed: 0
-  prettyname: Recent View StyleID
-
 userproplist.s2_style:
   cldversion: 4
   datatype: num
@@ -1142,14 +1078,6 @@ userproplist.timezone:
   multihomed: 0
   prettyname: Timezone
 
-userproplist.trusted_s1:
-  cldversion: 0
-  datatype: char
-  des: User's trusted S1 style ids
-  indexed: 0
-  multihomed: 0
-  prettyname: Trusted S1 Styles
-
 userproplist.twitter:
   cldversion: 4
   datatype: char
@@ -1207,31 +1135,6 @@ talkproplist.deleted_poster:
   datatype: char
   des: If the comment poster's account is deleted, this field gets added to all of their posts, so the UI can show something besides 'anonymous' when posterid gets set to 0
   prettyname: Username of deleted poster
-
-talkproplist.guest_auth:
-  datatype: bool
-  des: true if auth'd, false if not
-  prettyname: URL of Guest Poster
-
-talkproplist.guest_email:
-  datatype: char
-  des: Anonymous comments with an email attached
-  prettyname: Email of Guest Poster
-
-talkproplist.guest_mangle_email:
-  datatype: bool
-  des: If true, mangle guest email
-  prettyname: URL of Guest Poster
-
-talkproplist.guest_name:
-  datatype: char
-  des: Anonymous comments with a name attached
-  prettyname: Name of Guest Poster
-
-talkproplist.guest_url:
-  datatype: char
-  des: Anonymous comments with a URL attached
-  prettyname: Website of Guest Poster
 
 talkproplist.import_source:
   datatype: char
diff -r 21c7e961f007 -r 8f4b5abc0a34 htdocs/support/see_request.bml
--- a/htdocs/support/see_request.bml	Sat Jul 11 05:26:19 2009 +0000
+++ b/htdocs/support/see_request.bml	Sat Jul 11 05:37:19 2009 +0000
@@ -235,8 +235,7 @@ body<=
         $clusterdown = 1 unless $dbr;
 
         $email = $u->email_raw if $u->email_raw;
-        LJ::load_user_props($u, "s1_lastn_style", "s1_calendar_style", "s1_day_style",
-                            "s1_friends_style", "stylesys", "s2_style", "browselang", "schemepref" )
+        LJ::load_user_props($u, "stylesys", "s2_style", "browselang", "schemepref" )
             unless $clusterdown;
     }
 
--------------------------------------------------------------------------------
kareila: Taking refuge from falling debris under a computer desk. (computercrash)

[personal profile] kareila 2009-07-11 07:46 am (UTC)(link)
This is actually bug 1378. You quoted the patch attachment number.