Remove this function from Transmo, it's in core2 now.

        Patch by afuna. 

diffs (36 lines):

diff -r f9e5fbf8f824 -r ee5bf381700f 
bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2   Sun May 17 03:22:46 
2009 +0000
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2   Mon May 18 00:26:17 
2009 +0000
@@ -271,32 +271,6 @@ function Page::print()
     """
     </html>
     """;
-}
-
-function print_module_userprofile() {
-    var Page p = get_page();
-    var string title = "Profile";
-
-    open_module("userprofile", $title, "");
-
-    if ($*module_userprofile_opts_userpic) {
-        if (defined $p.journal.default_pic) { 
-            """<div class="userpic">""";
-            $p.journal->print_userpic();
-            """</div>""";
-        }
-    }
-    if ($*module_userprofile_opts_name or $*module_userprofile_opts_website) {
-        if ($*module_userprofile_opts_name) {
-            println "<p>"+$p.journal.name+"</p>";
-        }
-        if ($*module_userprofile_opts_website and $p.journal.website_url != 
"") {
-            var string website_name = ( $p.journal.website_name != "" ) ? 
$p.journal.website_name : $*text_website_default_name;
-            println "<p><a 
href='$p.journal.website_url'>$website_name</a></p>";
-        }
-    }
-    $p.journal->print_interaction_links();
-    close_module();
 }
 
 function print_stylesheet () {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to