holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r22465: LJINT-467: Comments for side projects (L...

Committer: akanashin
LJINT-467: Comments for side projects (Lenta.ru olympics)
U   trunk/cgi-bin/LJ/Entry.pm
Modified: trunk/cgi-bin/LJ/Entry.pm
===================================================================
--- trunk/cgi-bin/LJ/Entry.pm	2012-07-17 12:18:55 UTC (rev 22464)
+++ trunk/cgi-bin/LJ/Entry.pm	2012-07-18 06:30:35 UTC (rev 22465)
@@ -290,6 +290,9 @@
     my $override = LJ::run_hook("entry_permalink_override", $self, %opts);
     return $override if $override;
 
+    LJ::run_hook('override_entry_url', $u, $self, \$override);
+    return $override if $override;
+
     $self->{'url'} ||= $u->journal_base . "/" . $self->ditemid . ".html";
     my $url = $self->{'url'};
 

Tags: akanashin, holyandrew, livejournal, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments