summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-01-08 19:25:19 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-01-08 19:25:19 +0100
commit4a8c25eef508342fe919823b575b2de02072a379 (patch)
treed918ab0e31562f2dd205db56e52631a1d83f8467
parent19fa78d1ee7a41f2051be310b4579c4e36f3e546 (diff)
downloadnextcloud-server-4a8c25eef508342fe919823b575b2de02072a379.tar.gz
nextcloud-server-4a8c25eef508342fe919823b575b2de02072a379.zip
dechex not necessary, do not waste time with it
-rw-r--r--apps/user_ldap/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index 89b652ad4b5..422e43fc003 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -854,7 +854,7 @@ abstract class Access {
}
$offset -= $limit;
//we work with cache here
- $cachekey = 'lc' . dechex(crc32($base)) . '-' . dechex(crc32($filter)) . '-' . $limit . '-' . $offset;
+ $cachekey = 'lc' . crc32($base) . '-' . crc32($filter) . '-' . $limit . '-' . $offset;
$cookie = $this->connection->getFromCache($cachekey);
if(is_null($cookie)) {
$cookie = '';