Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_official / html / modules / groups [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
07 Aug 2002 03:58:37postnuke_official/html/modules/groupspnadminapi.php,1.17,1.18st.ego
 added pnModAPILoad calls for ref's to _userapi_getall and _userapi_get

Update of /home/cvsroot/postnuke_official/html/modules/groups
In directory ns7.hostnuke.net:/tmp/cvs-serv24664/html/modules/groups

Modified Files:
	pnadminapi.php 
Log Message:
added pnModAPILoad calls for ref's to _userapi_getall and _userapi_get


Index: pnadminapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/groups/pnadminapi.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** pnadminapi.php	7 Aug 2002 03:54:16 -0000	1.17
--- pnadminapi.php	7 Aug 2002 03:58:35 -0000	1.18
***************
*** 76,80 ****
  function groups_adminapi_viewallgroups()
  {
!     $groups = pnModAPIFunc('groups','user','getall');
  
      return $groups;
--- 76,85 ----
  function groups_adminapi_viewallgroups()
  {
!     if (!pnModAPILoad('groups', 'user')) {
! 		pnSessionSetVar('errormsg', _APILOADFAILED);
! 		$groups = array();
!     } else {
! 	    $groups = pnModAPIFunc('groups','user','getall');
! 	}
  
      return $groups;
***************
*** 175,179 ****
  function groups_adminapi_viewgroup($args)
  {
!     $users = pnModAPIFunc('groups','user','get');
  
      return $users;
--- 180,189 ----
  function groups_adminapi_viewgroup($args)
  {
!     if (!pnModAPILoad('groups', 'user')) {
! 		pnSessionSetVar('errormsg', _APILOADFAILED);
! 		$users = array();
!     } else {
! 	    $users = pnModAPIFunc('groups','user','get');
! 	}
  
      return $users;


Directory filter : [ all ] / postnuke_official / html / modules / groups [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3