From c0a418164dfc9729aa8a7398cb1eac43183db251 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 16 Dec 2010 22:27:20 +0100 Subject: [PATCH] Move methods. --- framework/Share/lib/Horde/Share/Sql.php | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/framework/Share/lib/Horde/Share/Sql.php b/framework/Share/lib/Horde/Share/Sql.php index 4dfcad96d..b7c534683 100644 --- a/framework/Share/lib/Horde/Share/Sql.php +++ b/framework/Share/lib/Horde/Share/Sql.php @@ -59,6 +59,16 @@ class Horde_Share_Sql extends Horde_Share_Base } /** + * Set the SQL table name to use for the current scope's share storage. + * + * @var string $table The table name + */ + public function setTable($table) + { + $this->_table = $table; + } + + /** * Get storage table * * @return string @@ -68,6 +78,11 @@ class Horde_Share_Sql extends Horde_Share_Base return $this->_table; } + public function setStorage(Horde_Db_Adapter $db) + { + $this->_db = $db; + } + /** * * @return Horde_Db_Adapter @@ -667,20 +682,6 @@ class Horde_Share_Sql extends Horde_Share_Base } /** - * Set the SQL table name to use for the current scope's share storage. - * - * @var string $table The table name - */ - public function setShareTable($table) { - $this->_table = $table; - } - - public function setStorage(Horde_Db_Adapter $db) - { - $this->_db = $db; - } - - /** * Utility function to convert from the SQL server's charset. */ protected function _fromDriverCharset($data) -- 2.11.0