summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorGabriel Potkány <gadelat@gmail.com>2015-02-04 01:45:59 +0100
committerGabriel Potkány <gadelat@gmail.com>2015-02-04 01:45:59 +0100
commit1fb500077784638399be79b32fe354aec257413c (patch)
tree0c8aacc26d8ee3d8113004c0f2a4882274a1efc9 /system/database
parent9cec91be05e13f292f73e59dd08febf5e32859d8 (diff)
Fixed inconsistent return types
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_driver.php2
-rw-r--r--system/database/DB_utility.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index a0803f170..bbe65b410 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -822,7 +822,7 @@ abstract class CI_DB_driver {
{
if ( ! $this->trans_enabled)
{
- return FALSE;
+ return;
}
// When transactions are nested we only begin/commit/rollback the outermost ones
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index 774d51533..ecfda522c 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -316,7 +316,7 @@ abstract class CI_DB_utility {
* Database Backup
*
* @param array $params
- * @return void
+ * @return mixed
*/
public function backup($params = array())
{