/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/request.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-10-25 00:15:57 UTC
  • Revision ID: csa@dside.dyndns.org-20081025001557-o9pf41lho1iwjctl
Fix from UI branch: prevent filtering of uncached virtual groups and databases

Show diffs side-by-side

added added

removed removed

Lines of Context:
451
451
        $dinfo['db_name_name'] = $dinfo['name'];
452
452
    }
453
453
 
454
 
    if ($flags&REQUEST::SKIP_UNCACHED) {
 
454
    if (($flags&REQUEST::SKIP_UNCACHED)&&(!$this->srv['virtual'])) {
455
455
        $cache = new CACHEDB();
456
456
        $cached_databases = $cache->ListCachedDatabases($this->props['db_server']);
457
457
 
572
572
        $list = $reader->GetGroupList($flags);
573
573
    }
574
574
    
575
 
    if ($flags&REQUEST::SKIP_UNCACHED) {
 
575
    if (($flags&REQUEST::SKIP_UNCACHED)&&(!$this->srv['virtual'])) {
576
576
        $cache = new CACHEDB();
577
577
        $cached_groups = $cache->ListCachedGroups($this->props['db_name'], $this->props['db_server']);
578
578