diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-03-20 00:07:18 +0100 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-03-20 00:07:18 +0100 |
commit | 8c1b2dc39d104774b3a7be87dc41f2b702bb883c (patch) | |
tree | ef5e7208e9abb4184c54ea0d42b62f7244427b0d /system/database/drivers/mssql/mssql_utility.php | |
parent | 48e1d2e78efea9f41e5ae65b600d35bb87b2e40f (diff) |
Revert "Added access modifiers for MSSQL driver"
This reverts commit ba1ebbefa9c5d225fa28c76dac276e6120263a25.
Diffstat (limited to 'system/database/drivers/mssql/mssql_utility.php')
-rw-r--r-- | system/database/drivers/mssql/mssql_utility.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/system/database/drivers/mssql/mssql_utility.php b/system/database/drivers/mssql/mssql_utility.php index e64874132..28f34b999 100644 --- a/system/database/drivers/mssql/mssql_utility.php +++ b/system/database/drivers/mssql/mssql_utility.php @@ -39,9 +39,10 @@ class CI_DB_mssql_utility extends CI_DB_utility { /** * List databases * + * @access private * @return bool */ - protected function _list_databases() + function _list_databases() { return "EXEC sp_helpdb"; // Can also be: EXEC sp_databases } @@ -53,10 +54,11 @@ class CI_DB_mssql_utility extends CI_DB_utility { * * Generates a platform-specific query so that a table can be optimized * + * @access private * @param string the table name * @return object */ - protected function _optimize_table($table) + function _optimize_table($table) { return FALSE; // Is this supported in MS SQL? } @@ -68,10 +70,11 @@ class CI_DB_mssql_utility extends CI_DB_utility { * * Generates a platform-specific query so that a table can be repaired * + * @access private * @param string the table name * @return object */ - protected function _repair_table($table) + function _repair_table($table) { return FALSE; // Is this supported in MS SQL? } @@ -81,10 +84,11 @@ class CI_DB_mssql_utility extends CI_DB_utility { /** * MSSQL Export * + * @access private * @param array Preferences * @return mixed */ - protected function _backup($params = array()) + function _backup($params = array()) { // Currently unsupported return $this->db->display_error('db_unsuported_feature'); |