<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
$return = $this->cache->getAllKeys($prefix);
- $this->profiler->saveTimestamp($time, 'cache', System::callstack());
+ $this->profiler->saveTimestamp($time, 'cache');
return $return;
}
$return = $this->cache->get($key);
- $this->profiler->saveTimestamp($time, 'cache', System::callstack());
+ $this->profiler->saveTimestamp($time, 'cache');
return $return;
}
$return = $this->cache->set($key, $value, $ttl);
- $this->profiler->saveTimestamp($time, 'cache', System::callstack());
+ $this->profiler->saveTimestamp($time, 'cache');
return $return;
}
$return = $this->cache->delete($key);
- $this->profiler->saveTimestamp($time, 'cache', System::callstack());
+ $this->profiler->saveTimestamp($time, 'cache');
return $return;
}
$return = $this->cache->clear($outdated);
- $this->profiler->saveTimestamp($time, 'cache', System::callstack());
+ $this->profiler->saveTimestamp($time, 'cache');
return $return;
}
$return = $this->cache->add($key, $value, $ttl);
- $this->profiler->saveTimestamp($time, 'cache', System::callstack());
+ $this->profiler->saveTimestamp($time, 'cache');
return $return;
} else {
$return = $this->cache->compareSet($key, $oldValue, $newValue, $ttl);
- $this->profiler->saveTimestamp($time, 'cache', System::callstack());
+ $this->profiler->saveTimestamp($time, 'cache');
return $return;
} else {
$return = $this->cache->compareDelete($key, $value);
- $this->profiler->saveTimestamp($time, 'cache', System::callstack());
+ $this->profiler->saveTimestamp($time, 'cache');
return $return;
} else {