Commit 2bb112bd authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-698 Renamed getIsDownTime() to getIsDownUntil().

Released under the Affero GNU General Public License (AGPL) version 3.
parent 4a271b1b
...@@ -82,7 +82,7 @@ class IpcMemcachedProvider implements IIpcProvider { ...@@ -82,7 +82,7 @@ class IpcMemcachedProvider implements IIpcProvider {
$this->init(); $this->init();
// check if memcached was down recently // check if memcached was down recently
$this->isDownUntil = $this->getIsDownTime(); $this->isDownUntil = $this->getIsDownUntil();
$this->wasDown = ! $this->IsActive(); $this->wasDown = ! $this->IsActive();
} }
...@@ -254,7 +254,7 @@ class IpcMemcachedProvider implements IIpcProvider { ...@@ -254,7 +254,7 @@ class IpcMemcachedProvider implements IIpcProvider {
* @access private * @access private
* @return long * @return long
*/ */
private function getIsDownTime() { private function getIsDownUntil() {
if (file_exists(MEMCACHED_DOWN_LOCK_FILE)) { if (file_exists(MEMCACHED_DOWN_LOCK_FILE)) {
$timestamp = file_get_contents(MEMCACHED_DOWN_LOCK_FILE); $timestamp = file_get_contents(MEMCACHED_DOWN_LOCK_FILE);
// is the lock file expired? // is the lock file expired?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment