diff --git a/include/db/mysql.inc.php b/include/db/mysql.inc.php index 67f7ee58..787d88ca 100644 --- a/include/db/mysql.inc.php +++ b/include/db/mysql.inc.php @@ -43,7 +43,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') { * * This function returns values dependin on the input parameters and the result of the query. * It can return: - * false if there was an error, + * false or a string if there was an error (depends on $expectError), * true if the query succeeded but did not generate any rows * array of field values if it returned a single row and $single is true * array of array of field values if it returned row(s) [stacked array] diff --git a/include/db/mysqli.inc.php b/include/db/mysqli.inc.php index bad9326c..549d6e41 100644 --- a/include/db/mysqli.inc.php +++ b/include/db/mysqli.inc.php @@ -43,7 +43,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') { * * This function returns values dependin on the input parameters and the result of the query. * It can return: - * false if there was an error, + * false or a string if there was an error (depends on $expectError), * true if the query succeeded but did not generate any rows * array of field values if it returned a single row and $single is true * array of array of field values if it returned row(s) [stacked array] diff --git a/include/db/pdo-postgres.inc.php b/include/db/pdo-postgres.inc.php index 0bb76251..85f7454a 100644 --- a/include/db/pdo-postgres.inc.php +++ b/include/db/pdo-postgres.inc.php @@ -170,7 +170,7 @@ function serendipity_db_insert_id($table = '', $id = '') { * * This function returns values dependin on the input parameters and the result of the query. * It can return: - * false if there was an error, + * false or a string if there was an error (depends on $expectError), * true if the query succeeded but did not generate any rows * array of field values if it returned a single row and $single is true * array of array of field values if it returned row(s) [stacked array] diff --git a/include/db/pdo-sqlite.inc.php b/include/db/pdo-sqlite.inc.php index df858ea7..c3f02c3b 100644 --- a/include/db/pdo-sqlite.inc.php +++ b/include/db/pdo-sqlite.inc.php @@ -198,7 +198,7 @@ function serendipity_db_insert_id($table = '', $id = '') { * * This function returns values dependin on the input parameters and the result of the query. * It can return: - * false if there was an error, + * false or a string if there was an error (depends on $expectError), * true if the query succeeded but did not generate any rows * array of field values if it returned a single row and $single is true * array of array of field values if it returned row(s) [stacked array] diff --git a/include/db/postgres.inc.php b/include/db/postgres.inc.php index d787605b..310400af 100644 --- a/include/db/postgres.inc.php +++ b/include/db/postgres.inc.php @@ -176,7 +176,7 @@ function serendipity_db_insert_id($table = '', $id = '') { * * This function returns values dependin on the input parameters and the result of the query. * It can return: - * false if there was an error, + * false or a string if there was an error (depends on $expectError), * true if the query succeeded but did not generate any rows * array of field values if it returned a single row and $single is true * array of array of field values if it returned row(s) [stacked array] diff --git a/include/db/sqlite.inc.php b/include/db/sqlite.inc.php index c6eef837..180542fe 100644 --- a/include/db/sqlite.inc.php +++ b/include/db/sqlite.inc.php @@ -194,7 +194,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') { * * This function returns values dependin on the input parameters and the result of the query. * It can return: - * false if there was an error, + * false or a string if there was an error (depends on $expectError), * true if the query succeeded but did not generate any rows * array of field values if it returned a single row and $single is true * array of array of field values if it returned row(s) [stacked array] diff --git a/include/db/sqlite3.inc.php b/include/db/sqlite3.inc.php index 39b6efff..d2174832 100644 --- a/include/db/sqlite3.inc.php +++ b/include/db/sqlite3.inc.php @@ -202,7 +202,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') { * * This function returns values dependin on the input parameters and the result of the query. * It can return: - * false if there was an error, + * false or a string if there was an error (depends on $expectError), * true if the query succeeded but did not generate any rows * array of field values if it returned a single row and $single is true * array of array of field values if it returned row(s) [stacked array] diff --git a/include/db/sqlrelay.inc.php b/include/db/sqlrelay.inc.php index 951b05d1..776f3a5b 100644 --- a/include/db/sqlrelay.inc.php +++ b/include/db/sqlrelay.inc.php @@ -81,7 +81,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') { * * This function returns values dependin on the input parameters and the result of the query. * It can return: - * false if there was an error, + * false or a string if there was an error (depends on $expectError), * true if the query succeeded but did not generate any rows * array of field values if it returned a single row and $single is true * array of array of field values if it returned row(s) [stacked array] diff --git a/include/plugin_api.inc.php b/include/plugin_api.inc.php index 62334297..68dbda19 100644 --- a/include/plugin_api.inc.php +++ b/include/plugin_api.inc.php @@ -1504,7 +1504,7 @@ class serendipity_plugin function cleanup() { // Cleanup. Remove all empty configs on SAVECONF-Submit. - // serendipity_plugin_api::remove_plugin_value($this->instance, array('title', 'description')); + // serendipity_plugin_api::remove_plugin_value($this->instance, array('configname1', 'configname2')); return true; }