Index: openacs-4/packages/new-portal/tcl/portal-procs.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/tcl/portal-procs.xql,v
diff -u -r1.52.2.2 -r1.52.2.3
--- openacs-4/packages/new-portal/tcl/portal-procs.xql	8 Jan 2020 11:55:19 -0000	1.52.2.2
+++ openacs-4/packages/new-portal/tcl/portal-procs.xql	1 Sep 2020 17:24:47 -0000	1.52.2.3
@@ -861,17 +861,5 @@
         </querytext>
     </fullquery>
 
-    <fullquery name="portal::portlet_visible_p.portlet_visible">
-        <querytext>
-            select exists (select 1
-            from portal_element_map,
-                 portal_pages
-            where portal_pages.portal_id = :portal_id
-            and portal_element_map.datasource_id = :ds_id
-            and portal_element_map.page_id = portal_pages.page_id
-            and portal_element_map.state <> 'hidden') from dual
-        </querytext>
-    </fullquery>
-    
 </queryset>