summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/database/DB_utility.php2
-rw-r--r--user_guide_src/source/database/utilities.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index 9eac2ec41..57356ac53 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -417,7 +417,7 @@ abstract class CI_DB_utility {
return gzencode($this->_backup($prefs));
}
- return '';
+ return;
}
}
diff --git a/user_guide_src/source/database/utilities.rst b/user_guide_src/source/database/utilities.rst
index 2aeadfdda..bafa08ed5 100644
--- a/user_guide_src/source/database/utilities.rst
+++ b/user_guide_src/source/database/utilities.rst
@@ -252,7 +252,7 @@ Class Reference
.. php:method:: backup([$params = array()])
:param array $params: An associative array of options
- :returns: string
+ :returns: raw/(g)zipped SQL query string
:rtype: string
Perform a database backup, per user preferences.