nextcloud/lib
Roeland Jago Douma 431750828e
Store setUserValue as string in cache
We cache the values we set in the setUserValue function.
However since the values are strings in the database we check if a value
is equal with string comparison

Now if the function was called with a $value of int or float. It would
be stored in the DB (and thus converted to string) and in the cache (not
converted thus as int/float).

Now if another call comes in that sets it to the same value (I'm looking
at you LDAP!). The check would fail since we would be comparing
int/float to string which fails by definition.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-19 12:57:48 +01:00
..
composer Remove deprecated OCP\Contacts 2018-03-14 10:47:09 +01:00
l10n [tx-robot] updated from transifex 2018-03-17 01:11:30 +00:00
private Store setUserValue as string in cache 2018-03-19 12:57:48 +01:00
public Merge pull request #8878 from nextcloud/remove_tmpfile 2018-03-19 12:29:08 +01:00
autoloader.php Make lib/autoloader.php strictly typed and properly type hinted 2018-02-13 22:07:58 +01:00
base.php Use proper method to log exceptions 2018-03-12 18:10:59 +01:00
versioncheck.php Raise PHP version number to PHP 7.0 2018-01-12 14:26:10 +01:00