Skip to content
Snippets Groups Projects
Commit d29c724f authored by Demian Katz's avatar Demian Katz
Browse files

More appropriate abstraction (throw exception instead of dying with non-object...

More appropriate abstraction (throw exception instead of dying with non-object error if table manager not assigned).
parent adc548d0
No related merge requests found
......@@ -204,6 +204,6 @@ abstract class AbstractBase implements SaveHandlerInterface,
*/
protected function getTable($table)
{
return $this->tableManager->get($table);
return $this->getDbTableManager()->get($table);
}
}
\ No newline at end of file
......@@ -136,6 +136,6 @@ class Db extends AbstractBase implements \VuFind\Db\Table\DbTableAwareInterface
*/
protected function getTable($table)
{
return $this->tableManager->get($table);
return $this->getDbTableManager()->get($table);
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment