[geeklog-cvs] Geeklog-2/system DefaultAccountManager.php,1.1,1.2

tony at iowaoutdoors.org tony at iowaoutdoors.org
Tue Dec 21 19:03:35 EST 2004


Update of /var/cvs/Geeklog-2/system
In directory www:/tmp/cvs-serv31926

Modified Files:
	DefaultAccountManager.php 
Log Message:
Got rid of the DAOFactory and now just use Geeklog_DAO.  This is a bit 
more intuitive.


Index: DefaultAccountManager.php
===================================================================
RCS file: /var/cvs/Geeklog-2/system/DefaultAccountManager.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DefaultAccountManager.php	20 Dec 2004 22:10:36 -0000	1.1
--- DefaultAccountManager.php	22 Dec 2004 00:03:32 -0000	1.2
***************
*** 9,13 ****
   * DAO Factory
   */
! require_once 'DataAccess/DAOFactory.php';
  
  /**
--- 9,13 ----
   * DAO Factory
   */
! require_once 'DataAccess/DAO.php';
  
  /**
***************
*** 44,48 ****
  		
  		// Get Data Access Object
! 		$dao = Geeklog_DAOFactory::getDAO();
  		
  		// Get the user object
--- 44,48 ----
  		
  		// Get Data Access Object
! 		$dao = &Geeklog_DAO::singleton();
  		
  		// Get the user object




More information about the geeklog-cvs mailing list