[geeklog-cvs] geeklog-1.3/public_html/admin group.php,1.30,1.31

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Sat Sep 20 12:36:07 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory geeklog_prod:/tmp/cvs-serv444

Modified Files:
	group.php 
Log Message:
Disabled debug output (to error.log).


Index: group.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/group.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** group.php	20 Sep 2003 15:35:12 -0000	1.30
--- group.php	20 Sep 2003 16:36:05 -0000	1.31
***************
*** 183,187 ****
  	} else {
          $group_templates->set_var('lang_securitygroupmsg', $LANG_ACCESS['groupmsg']);
!         COM_errorLog("SELECTED: $selected");
  		// You can no longer give access to the Root group....it's pointless and doesn't
          // make any sense
--- 183,189 ----
  	} else {
          $group_templates->set_var('lang_securitygroupmsg', $LANG_ACCESS['groupmsg']);
!         if ($VERBOSE) {
!             COM_errorLog("SELECTED: $selected");
!         }
  		// You can no longer give access to the Root group....it's pointless and doesn't
          // make any sense
***************
*** 367,371 ****
          if ($grp_gl_core == 1 AND !is_array($features)) {
              print COM_errorLog("sorry, no valid features were passed to this core group and saving could cause problem...bailing");
!             exit;
          }
          $grp_descr = COM_stripslashes ($grp_descr);
--- 369,373 ----
          if ($grp_gl_core == 1 AND !is_array($features)) {
              print COM_errorLog("sorry, no valid features were passed to this core group and saving could cause problem...bailing");
!             return COM_refresh ($_CONF['site_admin_url'] . '/group.php');
          }
          $grp_descr = COM_stripslashes ($grp_descr);
***************
*** 386,391 ****
              next($features);
          }
!         COM_errorLog('groups = ' . $groups);
!         if ($VERBOSE) COM_errorLog("deleting all group_assignments for group $grp_id/$grp_name",1);
          DB_query("DELETE FROM {$_TABLES['group_assignments']} WHERE ug_grp_id = $grp_id");
          if (!empty($groups)) {
--- 388,395 ----
              next($features);
          }
!         if ($VERBOSE) {
!             COM_errorLog('groups = ' . $groups);
!             COM_errorLog("deleting all group_assignments for group $grp_id/$grp_name",1);
!         }
          DB_query("DELETE FROM {$_TABLES['group_assignments']} WHERE ug_grp_id = $grp_id");
          if (!empty($groups)) {





More information about the geeklog-cvs mailing list