diff options
author | Brion Vibber <brion@pobox.com> | 2010-08-02 09:43:58 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-08-02 09:43:58 -0700 |
commit | a1aea74fe2dde70180f799b270802790d0344f60 (patch) | |
tree | 6299698e9249ff56b1acf1c0b18d4355221d9379 /classes/Safe_DataObject.php | |
parent | 2b0a8c8cb331ae9db0064740dc804b922c96d31f (diff) | |
parent | 557c6aa40fbb9ca2c87ccd27d63d3a9d6f1847fb (diff) |
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'classes/Safe_DataObject.php')
-rw-r--r-- | classes/Safe_DataObject.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Safe_DataObject.php b/classes/Safe_DataObject.php index 16d7165d6..f0ea6b136 100644 --- a/classes/Safe_DataObject.php +++ b/classes/Safe_DataObject.php @@ -116,7 +116,7 @@ class Safe_DataObject extends DB_DataObject if ($this->_call($method, $params, $return)) { return $return; } else { - // FIXME: i18n? + // Low level exception. No need for i18n as discussed with Brion. throw new Exception('Call to undefined method ' . get_class($this) . '::' . $method); } @@ -242,7 +242,7 @@ class Safe_DataObject extends DB_DataObject $this->debug("Cant find database schema: {$this->_database}/{$this->__table} \n". "in links file data: " . print_r($_DB_DATAOBJECT['INI'],true),"databaseStructure",5); // we have to die here!! - it causes chaos if we don't (including looping forever!) - // FIXME: i18n? + // Low level exception. No need for i18n as discussed with Brion. $this->raiseError( "Unable to load schema for database and table (turn debugging up to 5 for full error message)", DB_DATAOBJECT_ERROR_INVALIDARGS, PEAR_ERROR_DIE); return false; } |