Merge pull request #11629 from owncloud/add-notice-to-php-doc
Add PHPDoc about sanitization of "insertIfNotExist"
This commit is contained in:
commit
276db93dac
|
@ -42,7 +42,7 @@ class Adapter {
|
||||||
/**
|
/**
|
||||||
* insert the @input values when they do not exist yet
|
* insert the @input values when they do not exist yet
|
||||||
* @param string $table name
|
* @param string $table name
|
||||||
* @param array $input key->value pairs
|
* @param array $input key->value pair, key has to be sanitized properly
|
||||||
* @return int count of inserted rows
|
* @return int count of inserted rows
|
||||||
*/
|
*/
|
||||||
public function insertIfNotExist($table, $input) {
|
public function insertIfNotExist($table, $input) {
|
||||||
|
|
Loading…
Reference in New Issue