Projects
Kolab:3.4
kolab-webadmin
0001-Fix-typos-in-memcache-related-methods.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-typos-in-memcache-related-methods.patch of Package kolab-webadmin (Revision 28)
Currently displaying revision
28
,
Show latest
From 62f17678edda693f0d7cdd929911f118e5c6b0a5 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Wed, 8 Jan 2014 18:32:25 +0100 Subject: [PATCH] Fix typos in memcache-related methods --- lib/Auth/LDAP.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php index 5850672..0075166 100644 --- a/lib/Auth/LDAP.php +++ b/lib/Auth/LDAP.php @@ -1622,7 +1622,7 @@ class LDAP extends Net_LDAP3 { public function get_cache_data($key) { if ($cache = $this->get_cache()) { - return $cache->get($ckey); + return $cache->get($key); } } @@ -1638,8 +1638,8 @@ class LDAP extends Net_LDAP3 { public function set_cache_data($key, $data, $ttl = 3600) { if ($cache = $this->get_cache()) { - if (!$cache->replace($ckey, $data, MEMCACHE_COMPRESSED, $ttl)) { - return $cache->set($ckey, $data, MEMCACHE_COMPRESSED, $ttl); + if (!$cache->replace($key, $data, MEMCACHE_COMPRESSED, $ttl)) { + return $cache->set($key, $data, MEMCACHE_COMPRESSED, $ttl); } else { return true; -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.