Commit 4336fd82 authored by Frank Bergmann's avatar Frank Bergmann

- Don't show Wiki portlet in a sub-project

parent 22e13a7f
......@@ -19,6 +19,9 @@ ad_proc im_wiki_home_component { } {
ad_proc im_wiki_project_component { project_id } {
Wiki component to be shown at the system home page
} {
set parent_id [db_string parent_id "select parent_id from im_projects where project_id = :project_id"]
if {"" ne $parent_id} { return "" }
set result ""
if {[im_package_exists_p xowiki]} {
set params [list \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment