fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-12-10 09:53 am

[dw-free] remove broken add_edge call from htdocs/feeds/index.bml

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

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

No effect, the syntax is wrong. We redirect to /manage/circle/add, so just
remove this.

Patch by [personal profile] kareila.

Files modified:
  • htdocs/feeds/index.bml
--------------------------------------------------------------------------------
diff -r 3428da6437e4 -r 8bed8122b87e htdocs/feeds/index.bml
--- a/htdocs/feeds/index.bml	Fri Dec 10 17:50:18 2010 +0800
+++ b/htdocs/feeds/index.bml	Fri Dec 10 17:53:38 2010 +0800
@@ -141,8 +141,6 @@ body<=
 
                 return "<?h1 $ML{'.invalid.inuse.title'} h1?><?p $ML{'.invalid.inuse.text'} p?>"
                     unless $synfeed;
-
-                $u->add_edge( $synfeed, watch => 1 );
 
                 $su = $dbh->selectrow_hashref("SELECT u.user, s.* FROM syndicated s, useridmap u ".
                                               "WHERE s.userid=? AND s.userid=u.userid",
--------------------------------------------------------------------------------