summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/pdo/pdo_utility.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-03-20 00:06:34 +0100
committerTimothy Warren <tim@timshomepage.net>2012-03-20 00:06:34 +0100
commit667c9feadee8ef5ea8c1859e7c79c2d116469051 (patch)
treef622df89e4ead172f08761d2e915ffcb6d4dd288 /system/database/drivers/pdo/pdo_utility.php
parent99c02ef1dfbdfb444e3effb58906c4369f17b20e (diff)
Revert "PDO driver access modifiers"
Diffstat (limited to 'system/database/drivers/pdo/pdo_utility.php')
-rw-r--r--system/database/drivers/pdo/pdo_utility.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/system/database/drivers/pdo/pdo_utility.php b/system/database/drivers/pdo/pdo_utility.php
index 2c12d7438..c278c5172 100644
--- a/system/database/drivers/pdo/pdo_utility.php
+++ b/system/database/drivers/pdo/pdo_utility.php
@@ -39,9 +39,10 @@ class CI_DB_pdo_utility extends CI_DB_utility {
/**
* List databases
*
+ * @access private
* @return bool
*/
- protected function _list_databases()
+ function _list_databases()
{
// Not sure if PDO lets you list all databases...
if ($this->db->db_debug)
@@ -58,10 +59,11 @@ class CI_DB_pdo_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)
{
// Not a supported PDO feature
if ($this->db->db_debug)
@@ -78,10 +80,11 @@ class CI_DB_pdo_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)
{
// Not a supported PDO feature
if ($this->db->db_debug)
@@ -96,10 +99,11 @@ class CI_DB_pdo_utility extends CI_DB_utility {
/**
* PDO 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');