with one switch, a system administrator can now disable the category support
(no searching for categories, no getting communities by category, no category display on community profile, no changing a community's category)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
//
|
||||
// The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
// for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
// Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
// Copyright (C) 2001-02 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
//
|
||||
// Contributor(s):
|
||||
|
||||
@@ -43,4 +43,6 @@ menu = rinput.getMenu("community.admin",vars);
|
||||
// build a view around it and return it
|
||||
rc = new MenuView(menu);
|
||||
rc.menuSelector = Content.MENU_SELECTOR_COMMUNITY;
|
||||
if (rinput.engine.useCategories())
|
||||
rc.define("USECAT");
|
||||
vlib.output(rc);
|
||||
|
||||
Reference in New Issue
Block a user