Skip to content

Commit

Permalink
- added new owa_error class replacing old. Errors are now buffered un…
Browse files Browse the repository at this point in the history
…till an error handler is specified from DB. This now means that one can

log errors without worrying about what error handler might or might not be set.
- refactored caller constructor to account for new approach to logging errors and re-organized a bit
- removed references to old error class factory
- added new error class factory to coreAPI
  • Loading branch information
padams committed Dec 24, 2007
1 parent 473fdec commit 7f81fa7
Show file tree
Hide file tree
Showing 9 changed files with 497 additions and 330 deletions.
4 changes: 2 additions & 2 deletions modules/base/classes/cacheFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ class owa_cacheFacade extends owa_cache {

function __construct($cache_dir) {

$this->e = &owa_error::get_instance();
$this->e = &owa_coreAPI::errorSingleton();
return parent::__construct($cache_dir);

}

function owa_cacheFacade($cache_dir) {

$this->e = &owa_error::get_instance();
$this->e = &owa_coreAPI::errorSingleton();
return $this->owa_cache($cache_dir);

}
Expand Down
Loading

0 comments on commit 7f81fa7

Please sign in to comment.