mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-09-21 12:49 am

[dw-nonfree] Sticky entry module

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/1fbcdd1e3cf2]

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

Add support for specifying a 'sticky entry', i.e. an entry that always shows
up at the top of your journal on the recent entries view.

Patch by [personal profile] yvi.

Files modified:
  • bin/upgrading/s2layers/transmogrified/layout.s2
  • cgi-bin/DW/BusinessRules/InviteCodes/DWS.pm
--------------------------------------------------------------------------------
diff -r 4ba97d00525f -r 1fbcdd1e3cf2 bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Fri Sep 18 06:57:58 2009 -0500
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Mon Sep 21 00:49:22 2009 +0000
@@ -90,6 +90,7 @@ propgroup text {
     property use text_watch_comments; 
     property use text_unwatch_comments; 
     property use text_permalink; 
+    property use text_stickyentry_subject;
     
     property use text_module_customtext;
     property use text_module_customtext_content;
diff -r 4ba97d00525f -r 1fbcdd1e3cf2 cgi-bin/DW/BusinessRules/InviteCodes/DWS.pm
--- a/cgi-bin/DW/BusinessRules/InviteCodes/DWS.pm	Fri Sep 18 06:57:58 2009 -0500
+++ b/cgi-bin/DW/BusinessRules/InviteCodes/DWS.pm	Mon Sep 21 00:49:22 2009 +0000
@@ -19,7 +19,6 @@ use strict;
 use strict;
 use warnings;
 use Carp ();
-use lib "$LJ::HOME/cgi-bin";
 use base 'DW::BusinessRules::InviteCodes';
 
 use DW::InviteCodes;
--------------------------------------------------------------------------------