[pLog-svn] r4782 - plog/branches/lifetype-1.2/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sun Feb 18 17:39:38 EST 2007
Author: oscar
Date: 2007-02-18 17:39:38 -0500 (Sun, 18 Feb 2007)
New Revision: 4782
Modified:
plog/branches/lifetype-1.2/class/dao/model.class.php
Log:
Model should definitely not extend Loggable!
Modified: plog/branches/lifetype-1.2/class/dao/model.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/model.class.php 2007-02-18 22:11:09 UTC (rev 4781)
+++ plog/branches/lifetype-1.2/class/dao/model.class.php 2007-02-18 22:39:38 UTC (rev 4782)
@@ -42,8 +42,6 @@
*
*/
- lt_include( PLOG_CLASS_PATH."class/object/loggable.class.php" );
-
/**
* default database prefix, if none other specified
*/
@@ -88,7 +86,7 @@
* worry about that. Later on, the Model classes will be used by
* the corresponding action object.
*/
- class Model extends Loggable
+ class Model
{
var $_db;
@@ -104,8 +102,6 @@
*/
function Model( $cacheEnabled = DATA_CACHE_ENABLED )
{
- $this->Loggable();
-
// allow a cache for all dao objects
lt_include( PLOG_CLASS_PATH . "class/cache/cachemanager.class.php" );
$this->_cache =& CacheManager::getCache( $cacheEnabled );
More information about the pLog-svn
mailing list