Skip to content

Commit

Permalink
Fix wincache notice
Browse files Browse the repository at this point in the history
Tracker:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33811&start=0

According to the PHP Docs for wincache_ucache_info():
http://www.php.net/manual/en/function.wincache-ucache-info.php

We have no index called "cache_entries" only a "ucache_entries"
  • Loading branch information
zero-24 committed Jun 2, 2014
1 parent acb7e30 commit 9b8ad85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/joomla/cache/storage/wincache.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ public function getAll()
parent::getAll();

$allinfo = wincache_ucache_info();
$keys = $allinfo['cache_entries'];
$secret = $this->_hash;
$data = array();
$keys = $allinfo['ucache_entries'];
$secret = $this->_hash;
$data = array();

foreach ($keys as $key)
{
$name = $key['key_name'];
$name = $key['key_name'];
$namearr = explode('-', $name);
if ($namearr !== false && $namearr[0] == $secret && $namearr[1] == 'cache')
{
Expand Down

0 comments on commit 9b8ad85

Please sign in to comment.