diff options
author | Gabriel Potkány <gadelat@gmail.com> | 2015-02-04 14:06:47 +0100 |
---|---|---|
committer | Gabriel Potkány <gadelat@gmail.com> | 2015-02-04 14:06:47 +0100 |
commit | 40bbd60bcc5135f898f46e502f7b04ef065274e0 (patch) | |
tree | f9159aa631d135ebbd32d8dd40a9d5cc113ccc0c | |
parent | 0dd2538900bcbf5ab34798c9fb56632fefbfdad0 (diff) |
Adjusted return type for CI_DB_utility::backup to suggestions
-rw-r--r-- | system/database/DB_utility.php | 2 | ||||
-rw-r--r-- | user_guide_src/source/database/utilities.rst | 2 |
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. |