/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to classes/cgroup/cachewrapper.php

  • Committer: Suren A. Chilingaryan
  • Date: 2018-07-13 01:21:48 UTC
  • Revision ID: csa@suren.me-20180713012148-9318itobs1jrxe9v
Fix setting invalid 'limit' when calling GetAllPoints on CACHEWrap

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
 
140
140
 function GetAllPoints(INTERVAL $ivl = NULL, $limit = 0) {
141
141
    try {
142
 
        $res = $this->cache->GetAllPoints($this->mask, $ivl, CACHEDB::TYPE_ALL, $limit);
 
142
        $res = $this->cache->GetAllPoints($this->mask, $ivl, $limit);
143
143
    } catch (ADEIException $ae) {
144
144
        if ($ae->getCode() == ADEIException::NO_CACHE) return array();
145
145
        throw $ae;