From: Jan Schneider Date: Thu, 16 Dec 2010 21:27:20 +0000 (+0100) Subject: Move methods. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c0a418164dfc9729aa8a7398cb1eac43183db251;p=horde.git Move methods. --- 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)