[geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.16, 1.17

Dirk Haun dhaun at qs1489.pair.com
Sun Sep 30 12:45:46 EDT 2007


Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv18050/system/classes

Modified Files:
	story.class.php 
Log Message:
Removed include for lib-security.php (shouldn't be necessary here)


Index: story.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** story.class.php	30 Sep 2007 15:59:41 -0000	1.16
--- story.class.php	30 Sep 2007 16:45:44 -0000	1.17
***************
*** 1445,1454 ****
      function checkAccess()
      {
!         global $_CONF;
! 
!         require_once $_CONF['path_system'] . 'lib-security.php';
! 
!         return SEC_hasAccess($this->_owner_id, $this->_group_id, $this->_perm_owner, $this->_perm_group,
!                                  $this->_perm_members, $this->_perm_anon);
      }
  
--- 1445,1451 ----
      function checkAccess()
      {
!         return SEC_hasAccess($this->_owner_id, $this->_group_id,
!                              $this->_perm_owner, $this->_perm_group,
!                              $this->_perm_members, $this->_perm_anon);
      }
  




More information about the geeklog-cvs mailing list