Don't allow if community or syndicated account
Patch by kareila.
diffs (11 lines):
diff -r 86f0b623dd72 -r 4cd0cc1e511c cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm Wed May 27 18:25:24 2009 +0000
+++ b/cgi-bin/LJ/User.pm Thu May 28 15:37:37 2009 +0000
@@ -4713,6 +4713,7 @@ sub can_add_inbox_subscription {
# can this user use ESN?
sub can_use_esn {
my $u = shift;
+ return 0 if $u->is_community || $u->is_syndicated;
return 0 unless LJ::is_enabled('esn');
return LJ::is_enabled('esn_ui', $u);
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog